Gets the width of this RasterImage in pixels, taking ViewPerspective and XResolution into account.
public int GetImageWidthDpi(
bool useDpi
)
Public Function GetImageWidthDpi( _
ByVal useDpi As Boolean _
) As Integer
- (NSInteger)imageWidthWithDpi:(BOOL)useDpi
public int getImageWidthDpi(boolean useDpi)
public:
int GetImageWidthDpi(
bool useDpi
)
useDpi
true to take into account the resolution (DPI) of the image; false to ignore the DPI.
The width of this RasterImage in pixels, taking ViewPerspective and XResolution into account.
Use Width to get the actual width of the image data scanlines.
For more information refer to Accounting For View Perspective.
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