InputPanel for WinForms | ComponentOne
C1.Win.5 Assembly / C1.Framework Namespace / StackPanel Class / GetDeviceDPI Method

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