Accusoft Prizm Viewer Control v10.0
SetImageRectangle Method
A double value which represents the x (horizontal) coordinate point to define the rectangle.
A double value which represents the y (vertical) coordinate point to define the rectangle.
A double value which represents the width of the rectangular area.
A double value which represents the height of the rectangular area.
Description
Sets scaling and position to best fit the rectangular area specified.
Syntax
Visual Basic
Public Sub SetImageRectangle( _
   ByVal x As Double, _
   ByVal y As Double, _
   ByVal width As Double, _
   ByVal height As Double _
) 
Parameters
x
A double value which represents the x (horizontal) coordinate point to define the rectangle.
y
A double value which represents the y (vertical) coordinate point to define the rectangle.
width
A double value which represents the width of the rectangular area.
height
A double value which represents the height of the rectangular area.
Remarks
The image position is changed according to the specified rectangular area with the image positioned where the portion best fits the viewing window. These values are limited by the image width and height.
See Also

PrizmControl Object  | PrizmControl Members  | ImageRectangleX Property  | ImageRectangleY Property  | ImageRectangleHeight Property  | ImageRectangleWidth Property  | SetImageLocation Method

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback