LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AutomationUseDpi Property
See Also 
Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationUseDpi Property



The AutomationUseDpi Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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

Syntax

Visual Basic (Declaration) 
ReadOnly Property AutomationUseDpi As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IAnnAutomationControl
Dim value As Boolean
 
value = instance.AutomationUseDpi
C# 
bool AutomationUseDpi {get;}
C++/CLI 
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.

Example

For an example, refer to IAnnAutomationControl.

Remarks

(Read only) 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 rulres will use the resolution to correctly display the value in device independant 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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features