Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class / ScaleForDPI Method

In This Topic
    ScaleForDPI Method (Viewport)
    In This Topic
    Scales the element for high DPI settings.
    Syntax
    'Declaration
     
    Public Overridable Sub ScaleForDPI() 
    public virtual void ScaleForDPI()
    Remarks
    This method needs to be called if the element is added outside of the InitializeComponents() to adjust the rendering for high dpi settings.
    See Also

    Reference

    Viewport Class
    Viewport Members
    UtilityEx.GetScalingLevel