Input for WinForms | ComponentOne
C1.Framework Namespace / TextElement Class / GetDeviceDPI Method

In This Topic
    GetDeviceDPI Method (TextElement)
    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.Win.Util.DpiHelper.DEFAULT_DPI if has no HostControl.
    See Also