Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

ConvertTransform Method

Show in webframe
The transformation matrix to convert.
The source reference item.
The target reference item.
Converts a transformation matrix relative to one item to another.
Syntax
 function Leadtools.Controls.ImageViewer.convertTransform( 
   transform ,
   sourceItem ,
   destinationItem 
)

Parameters

ParameterTypeDescription
transformLeadMatrixThe transformation matrix to convert.
sourceItemImageViewerItemThe source reference item.
destinationItemImageViewerItemThe target reference item.

Return Value

TypeDescription
LeadMatrix 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.

See Also

Reference

ImageViewer Object
ImageViewer Members

Error processing SSI file