Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationDpiX Property |
float AutomationDpiX {get;}
'Declaration ReadOnly Property AutomationDpiX As Single
'Usage Dim instance As IAnnAutomationControl Dim value As Single value = instance.AutomationDpiX
float AutomationDpiX {get;}
get_AutomationDpiX();
The horizontal resolution of the control being annotated in dots per inch. Usually you will return the resolution of the control you are using in IAnnAutomationControl by obtaining it in a standard way in Windows.Forms. For example, using System.Windows.Forms.Control.CreateGraphics and returning Graphics.DpiX of the result object or simply 0 to use the current screen resolution.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2