Leadtools.Controls Namespace > ImageViewer Object : ConvertRect Method |
Parameter | Type | Description |
---|---|---|
item | ImageViewerItem | The reference item. This value can be null. |
fromType | ImageViewerCoordinateType | Original coordinates of rect. |
toType | ImageViewerCoordinateType | Desired target coordinates. |
rect | LeadRectD | The rectangle to convert. |
Type | Description |
---|---|
LeadRectD | The converted rectangle |
For information on the various conversion types, refer to ConvertPoints.
For more information refer to Image Viewer Layouts, Image Viewer Appearance, Image Viewer Items, Image Viewer Transformation, and Image Viewer Bounds and Transform.
For an example, refer to ConvertPoint.