Defines a part of an item in ImageViewer.
lt.Controls.ImageViewerItemPart = {
view: 0,
item: 1,
content: 2,
image: 3,
textArea: 4,
text: 5,
floater: 6
}
lt.Controls.ImageViewerItemPart = {
view: 0,
item: 1,
content: 2,
image: 3,
textArea: 4,
text: 5,
floater: 6
}
0 |
View |
(0) Do not use a part of the item. Can be used with ImageViewer.GetItemBounds to mean the full bounds in view coordinates. Returned from ImageViewer.HitTestItemPart to mean the point is outside the item (in the view) |
1 |
Item |
(1) The item boundary. This is Content plus item margin, border and padding (ImageViewer.ItemMargin, ImageViewer.ItemBorderThickness and ImageViewer.ItemPadding respectively) |
2 |
Content |
(2) The content bounds. This is Item minus item margin, border and padding (ImageViewer.ItemMargin, ImageViewer.ItemBorderThickness and ImageViewer.ItemPadding respectively) |
3 |
Image |
(3) The image bounds. Inside Content and based on the image size (ImageViewerItem.ImageSize) and alignment (ImageViewerItem.ImageHorizontalAlignment and ImageViewerItem.ImageVerticalAlignment) |
4 |
TextArea |
(4) The area where the text is rendered. Actual size is based on font size and value of ImageViewerItem.Text |
5 |
Text |
(5) The text bounds, outside the content bounds |
6 |
Floater |
(6) The floater bounds. This could be outside the item boundary depending on
ImageViewerItem.FloaterTransform |
For more information, refer to Image Viewer Appearance, Image Viewer Items, Image Viewer Transformation, Image Viewer Bounds and Transform and Image Viewer Layouts.
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