Ribbon for WinForms | ComponentOne
C1.Util.Win Namespace / Win32 Class / GetDpiForMonitor Method

In This Topic
    GetDpiForMonitor Method (Win32)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function GetDpiForMonitor( _
       ByVal hMonitor As IntPtr, _
       ByVal dpiType As Win32.MONITOR_DPI_TYPE, _
       ByRef dpiX As Integer, _
       ByRef dpiY As Integer _
    ) As Integer
    public static int GetDpiForMonitor( 
       IntPtr hMonitor,
       Win32.MONITOR_DPI_TYPE dpiType,
       ref int dpiX,
       ref int dpiY
    )

    Parameters

    hMonitor
    dpiType
    dpiX
    dpiY
    See Also