An enumeration used for indicating where an ImageViewerInteractiveMode transformation should be applied.
public enum ImageViewerInteractiveModeTransformTarget
public:
enum class ImageViewerInteractiveModeTransformTarget sealed
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.
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