#include "ltwrappr.h"
L_BOOL LBitmapWindow::EnablePaintSizeUseDPI(bPaintSizeUseDPI)
L_BOOL bPaintSizeUseDPI; |
flag that indicates whether to paint the bitmap using the DPI settings |
Enables or disables bitmap painting using the DPI settings.
Parameter | Description | |
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.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64.
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