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 the control's images are scaled to the current DPI.
Get
| VB.NET | Mode = object.ImageScaling As SftTreeScalingConstants |
| VB | Mode = object.ImageScaling As SftTreeScalingConstants |
| C#.NET | SftTreeScalingConstants Mode = object.ImageScaling; |
| VC++ | enum SftTreeScalingConstants Mode = object->ImageScaling; enum SftTreeScalingConstants Mode = object->GetImageScaling(); |
| C | HRESULT object->get_ImageScaling(enum SftTreeScalingConstants* Mode); |
Put
| VB.NET | object.ImageScaling = Mode As SftTreeScalingConstants |
| VB | object.ImageScaling = Mode As SftTreeScalingConstants |
| C#.NET | SftTreeScalingConstants object.ImageScaling = Mode; |
| VC++ | enum SftTreeScalingConstants object->ImageScaling = Mode; void object->PutImageScaling(enum SftTreeScalingConstants Mode); |
| C | HRESULT object->put_ImageScaling(enum SftTreeScalingConstants Mode); |
object
Mode
Defines whether the control's images are scaled to the current DPI.
| Name | Value | Description |
|---|---|---|
| scalingSftTreeAsIs | 0 | Draw every image at its native pixel size (the default). |
| scalingSftTreeStretch | 1 | Scale every image by the current DPI. |
The ImageScaling property defines whether the control's images are scaled to the current DPI.
This setting is independent of PixelScaling.
See Also SftTree Object | Object Hierarchy | Per-Monitor DPI and Scaling
