HeaderPane
Main
Hide
Share Link
Print

ImageScaling Property, SftTree Object

Defines whether the control's images are scaled to the current DPI.

Syntax

Get

C#SftTreeScalingConstants Mode = object.ImageScaling;
VB.NETMode = object.ImageScaling As SftTreeScalingConstants
C++enum SftTreeScalingConstants Mode = object->ImageScaling;
enum SftTreeScalingConstants Mode = object->GetImageScaling();
CHRESULT object->get_ImageScaling(enum SftTreeScalingConstants* Mode);
VBMode = object.ImageScaling As SftTreeScalingConstants

Put

C#SftTreeScalingConstants object.ImageScaling = Mode;
VB.NETobject.ImageScaling = Mode As SftTreeScalingConstants
C++enum SftTreeScalingConstants object->ImageScaling = Mode;
void object->PutImageScaling(enum SftTreeScalingConstants Mode);
CHRESULT object->put_ImageScaling(enum SftTreeScalingConstants Mode);
VBobject.ImageScaling = Mode As SftTreeScalingConstants

object

A SftTree object.

Mode

Defines whether the control's images are scaled to the current DPI.

NameValueDescription
scalingSftTreeAsIs0Draw every image at its native pixel size (the default).
scalingSftTreeStretch1Scale every image by the current DPI.

Comments

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


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.