Image size of an item.
public LeadSize GetItemImageSize(
ImageViewerItem item,
bool useDpi
)
public:
LeadSize^ GetItemImageSize(
ImageViewerItem^ item,
bool useDpi
)
item
The reference item. This value cannot be null.
useDpi
true to obtain the size using the current DPI setting, otherwise; false.
The size of the item image in pixels.
Each ImageViewerItem can have an ImageViewerItem.Resolution value that can be used to set the resolution (in dots per inch, or DPI) of the item. When the value of the DPI is different than the screen resolution and the viewer is instructed to view items using the true logical size (using UseDpi then the viewer will add the scaling required into the image transformation.
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