TreeView for WinForms | ComponentOne
C1.Framework.Html Namespace / HtmlElement Class / GetDeviceDPI Method

In This Topic
    GetDeviceDPI Method (HtmlElement)
    In This Topic
    Gets the DPI value for the display device where the C1.Framework.Element.HostControl is currently being displayed.
    Syntax
    'Declaration
     
    
    Protected Function GetDeviceDPI() As Integer
    protected int GetDeviceDPI()
    Remarks
    Returns C1.Framework.Element.DEFAULT_DPI if has no C1.Framework.Element.HostControl.
    See Also