Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewer Class : ConvertTransform Method |
public LeadMatrix ConvertTransform( LeadMatrix transform, ImageViewerItem sourceItem, ImageViewerItem destinationItem )
'Declaration
Public Function ConvertTransform( _ ByVal transform As LeadMatrix, _ ByVal sourceItem As ImageViewerItem, _ ByVal destinationItem As ImageViewerItem _ ) As LeadMatrix
This method is used by the ImageViewer in situations when a transformation matrix relative to an item need to be converted to be relative to another. For example, when the floater is dragged from one item and dropped to another, the ImageViewerItem.FloaterTransform value is converted using ConvertTransform to keep the original offset and scale values but relative to the new item.