Input for WinForms | ComponentOne
C1.Win.Input.Base.Views Namespace / InputTextBoxElementBase<T> Class / GetDeviceDPI Method

In This Topic
    GetDeviceDPI Method (InputTextBoxElementBase<T>)
    In This Topic
    Gets the DPI value for the display device where the C1.Framework.Element.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 C1.Framework.Element.HostControl.
    See Also