FlexChart | ComponentOne
C1.Win.Ribbon.4.5.2 Assembly / C1.Win.Ribbon Namespace / C1Ribbon Class / GetDeviceDpi Method

In This Topic
    GetDeviceDpi Method (C1Ribbon)
    In This Topic
    Gets the DPI value for the display device where the control is currently being displayed.
    Syntax
    'Declaration
     
    Protected Overrides Function GetDeviceDpi() As System.Integer
    protected override System.int GetDeviceDpi()
    Remarks
    Returns system DPI for .Net 4.5.2 and Control.DeviceDpi for .Net 5 or highest.
    See Also