Accusoft Prizm Viewer Control v10.0
SetImageRectangle Method
See Also  Send comments on this topic.
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.
PrizmControl Object : SetImageRectangle Method

Glossary Item Box

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

©2015. Accusoft Corporation. All Rights Reserved.