Leadtools.Annotations Namespace > IAnnAutomationControl Interface : AutomationDpiY Property |
float AutomationDpiY {get;}
'Declaration ReadOnly Property AutomationDpiY As Single
'Usage Dim instance As IAnnAutomationControl Dim value As Single value = instance.AutomationDpiY
float AutomationDpiY {get;}
get_AutomationDpiY();
The vertical 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.DpiY 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