Specifies how to use the item in the interactive mode.
lt.Controls.ImageViewerAutoItemMode = {
None: 0,
Never: 1,
AutoSet: 2,
AutoSetActive: 3
}
lt.Controls.ImageViewerAutoItemMode = {
None: 0,
Never: 1,
AutoSet: 2,
AutoSetActive: 3
}
Members
0 | None |
(0) Do not set Item. Leave it as it is. |
1 | Never |
(1) Do not use Item, always treat is as null, ImageViewerSelectItemsInteractiveMode uses this value since it never works on a specific item. |
2 | AutoSet |
(2) Perform hit-testing and if any is found, set it in Item. If no item is found then the mode will not work. |
3 | AutoSetActive |
(3) Perform hit-testing and if any is found, set it in Item also make it the current ActiveItem. If no item is found then the mode will not work. |
ImageViewerAutoItemMode is used as the value for the AutoItemMode property of ImageViewerInteractiveMode.
For an example, refer to AutoItemMode.
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