InputPanel for WinForms | ComponentOne
C1.Win.C1InputPanel.4.5.2 Assembly / C1.Win.C1InputPanel Namespace / C1InputPanel Class / GetDeviceDpi Method

In This Topic
    GetDeviceDpi Method (C1InputPanel)
    In This Topic
    Gets the DPI value for the display device where the control is currently being displayed.
    Protected Overridable Function GetDeviceDpi() As Integer
    protected virtual int GetDeviceDpi()
    Returns system DPI for .Net 4.5.2 and Control.DeviceDpi for .Net 5 or highest.
    See Also