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.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;} |
Property Value
true if the automation object should pay consideration to the image and control resolution when drawing annotation objects, otherwise; false.(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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7