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

In This Topic
    GetDeviceDPI Method (GridPanel)
    In This Topic
    Gets the DPI value for the display device where the 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 HostControl.
    See Also