←Select platform

ConvertTransform Method

Summary

Converts a transformation matrix relative to one item to another.

Syntax

C#
VB
C++
Public Function ConvertTransform( 
   ByVal transform As LeadMatrix, 
   ByVal sourceItem As ImageViewerItem, 
   ByVal destinationItem As ImageViewerItem 
) As LeadMatrix 

Parameters

transform

The transformation matrix to convert.

sourceItem

The source reference item.

destinationItem

The target reference item.

Return Value

The converted transformation matrix.

Remarks

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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly