| Leadtools.Controls Namespace > ImageViewer Object : GetItemTransform Method |
function Leadtools.Controls.ImageViewer.getItemTransform( item )
| Parameter | Type | Description |
|---|---|---|
| item | ImageViewerItem | The reference item, this value cannot be null. |
| Type | Description |
|---|---|
| LeadMatrix | The transformation matrix of the whole item. |
GetItemTransform returns the transformation used to render an item in relation to the top-left corner of the viewer control.
For more information refer to Image Viewer Appearance, Image Viewer Transformation, and Image Viewer Bounds and Transform.
For an example, refer to ConvertPoint.