Gets or sets a value that indicates whether LEAD's automated scaling properties are used to account for the physical resolution of the bitmap.
[DescriptionAttribute("Indicates whether LEAD's automated scaling properties are used to account for the physical resolution of the bitmap.")]
[CategoryAttribute("Behavior")]
public bool UseDpi {get; set;}
<DescriptionAttribute("Indicates whether LEAD's automated scaling properties are used to account for the physical resolution of the bitmap.")>
<CategoryAttribute("Behavior")>
Public Property UseDpi As Boolean
[DescriptionAttribute("Indicates whether LEAD's automated scaling properties are used to account for the physical resolution of the bitmap.")]
[CategoryAttribute("Behavior")]
public:
property bool UseDpi {
bool get();
void set ( bool );
}
true Account for the physical resolution. Default value is false.
The physical resolution of an image is measured in dots per inch (DPI). When you load an image, the Leadtools.RasterImage.XResolution and Leadtools.RasterImage.YResolution properties are updated with the DPI values for the horizontal and vertical resolution. Some images have different horizontal and vertical resolutions. For example, the horizontal resolution of a fax image is typically twice its vertical resolution (for example 200 by 100). In such cases, the displayed images will appear elongated if you do not account for the resolution. If the values of the Leadtools.RasterImage.XResolution property and the Leadtools.RasterImage.YResolution property are not equal, set the UseDpi property to true to have LEAD's automated scaling properties account for the physical resolution of the image when Items are painted by OnPaint
Refer to RasterImageList.
Products |
Support |
Feedback: UseDpi Property (RasterImageList) - Leadtools.WinForms |
Introduction |
Help Version 19.0.2017.3.22
|
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.