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
Defines whether caller-supplied pixel dimensions are scaled to the current DPI.
Get
| VB.NET | Mode = object.PixelScaling As SftTreeScalingConstants |
| VB | Mode = object.PixelScaling As SftTreeScalingConstants |
| C#.NET | SftTreeScalingConstants Mode = object.PixelScaling; |
| VC++ | enum SftTreeScalingConstants Mode = object->PixelScaling; enum SftTreeScalingConstants Mode = object->GetPixelScaling(); |
| C | HRESULT object->get_PixelScaling(enum SftTreeScalingConstants* Mode); |
Put
| VB.NET | object.PixelScaling = Mode As SftTreeScalingConstants |
| VB | object.PixelScaling = Mode As SftTreeScalingConstants |
| C#.NET | SftTreeScalingConstants object.PixelScaling = Mode; |
| VC++ | enum SftTreeScalingConstants object->PixelScaling = Mode; void object->PutPixelScaling(enum SftTreeScalingConstants Mode); |
| C | HRESULT object->put_PixelScaling(enum SftTreeScalingConstants Mode); |
object
Mode
Defines whether caller-supplied pixel dimensions are scaled to the current DPI.
| Name | Value | Description |
|---|---|---|
| scalingSftTreeAsIs | 0 | Use caller-supplied pixel values verbatim (the default). |
| scalingSftTreeStretch | 1 | Scale caller-supplied pixel values by the current DPI. |
The PixelScaling property defines whether caller-supplied pixel dimensions are scaled to the current DPI.
This setting is independent of ImageScaling. Stored values and property getters remain in 96-DPI reference units.
See Also SftTree Object | Object Hierarchy | Per-Monitor DPI and Scaling
