An enumeration used for indicating where an ImageViewerInteractiveMode transformation should be applied.
lt.Controls.ImageViewerInteractiveModeTransformTarget = {
ImageViewer: 0,
AllItems: 1,
Item: 2
}
lt.Controls.ImageViewerInteractiveModeTransformTarget = {
ImageViewer: 0,
AllItems: 1,
Item: 2
}
Members
Value | Member | Description |
---|---|---|
0 | ImageViewer | Applies the transformation to the ImageViewer itself. This is the most common case for the majority of ImageViewerInteractiveModes. |
1 | AllItems | Applies the transformation to each ImageViewerItem instead of to the ImageViewer. |
2 | Item | Only applies the transformation to the target ImageViewerItem. |
ImageViewerInteractiveModeTransformTarget is used in certain built-in ImageViewerInteractiveModes to control how interactions are handled. In most cases, ImageViewer
is the intended target. Changing to AllItems
will essentially make each ImageViewerItem act as an ImageViewer for the interactive mode, and Item
will make only the target ImageViewerItem act as an ImageViewer. When set to AllItems
or Item
, only those respective sections of the ImageViewer will receive events.
For example, consider ImageViewerPanZoomInteractiveMode. The default for ImageViewerPanZoomInteractiveMode.TransformTarget is ImageViewer
, which will pan and zoom the entire control as one piece. When changed to AllItems
, any interaction will not change the transform of the ImageViewer, but instead the transformation of each individual ImageViewerItem. Zooming in will zoom each individual item by the same amount. Interactions will only be captured if they occur over any item.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET