Converts a transformation matrix relative to one item to another.
public LeadMatrix ConvertTransform(
LeadMatrix transform,
ImageViewerItem sourceItem,
ImageViewerItem destinationItem
)
Public Function ConvertTransform(
ByVal transform As LeadMatrix,
ByVal sourceItem As ImageViewerItem,
ByVal destinationItem As ImageViewerItem
) As LeadMatrix
public:
LeadMatrix^ ConvertTransform(
LeadMatrix^ transform,
ImageViewerItem^ sourceItem,
ImageViewerItem^ destinationItem
)
transform
The transformation matrix to convert.
sourceItem
The source reference item.
destinationItem
The target reference item.
The converted transformation matrix.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document