Enables or disables bitmap painting using the DPI settings.
#include "ltwrappr.h"
L_BOOL LBitmapWindow::EnablePaintSizeUseDPI(bPaintSizeUseDPI)
Flag that indicates whether to paint the bitmap using the DPI settings. Possible values are:
Value | Meaning |
---|---|
TRUE | Paint the bitmap using its DPI settings. |
FALSE | Paint the bitmap using the bitmaps original height and width. |
The previous state.
If enabled, the bitmap window will account for the physical resolution of the bitmap when displaying it.
The physical resolution of a bitmap is measured in dots per inch (DPI). Some images have different horizontal and vertical resolutions (for example: 300 by 600). In such cases, the displayed images will appear elongated if you do not account for the resolution.
This setting is disabled by default.
Win32, x64.
For an example, refer to LBitmapWindow::SetROP3.
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