SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Returns the effective DPI for the control's current monitor.
Get
| VB.NET | DPI = object.DPI As Integer |
| VB | DPI = object.DPI As Long |
| C#.NET | int DPI = object.DPI; |
| VC++ | long DPI = object->DPI; long DPI = object->GetDPI(); |
| C | HRESULT object->get_DPI(long* DPI); |
object
Returns the effective DPI for the control's current monitor.
The DPI property returns the effective DPI for the control's current monitor.
On a per-monitor DPI-aware host, the value changes when the control moves to a monitor with a different DPI; the DPIChanged event is raised when this happens. A value of 96 corresponds to 100% scaling.
See Also SftTree Object | Object Hierarchy | Per-Monitor DPI and Scaling
