←Select platform

AutomationUseDpi Property

Summary

Gets a value indicating whether the automation object should pay consideration to the image and control resolution when drawing annotation objects.

Syntax

C#
VB
C++
bool AutomationUseDpi {get;} 
  
ReadOnly Property AutomationUseDpi As Boolean 
property bool AutomationUseDpi { 
   bool get(); 
} 

Property Value

true if the automation object should pay consideration to the image and control resolution when drawing annotation objects, otherwise; false.

Remarks

a value indicating whether to use pay consideration to the image and control resolution when drawing annotation objects. The automation uses the resolution when translation values to pixels, for example, when calculating point size of a font. Also, objects such as rulers will use the resolution to correctly display the value in device independent coordinates such as inches and millimeters. If the value of this property is true, then the automation will use AutomationImageDpiX, AutomationImageDpiY, AutomationDpiX and AutomationDpiY to when calculating these values and ensure the result value on screen is accurate. If the value of this property is false, then the automation will not use any of these values and the calculations will be done using a default value of 96 dots per inch. You must trigger the IAnnAutomationControl.AutomationUseDpiChanged event when the value of this property is changed.

Example

For an example, refer to IAnnAutomationControl.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations Assembly
Click or drag to resize