HeaderPane
Main
Hide

SftButton/DLL 3.0 - Button Control

Share Link
Print

SFTBUTTON_IMAGESCALING Constants

Values for SetImageScaling / GetImageScaling and for the imageScaling field on SFTBUTTON_CONTROL.

SFTBUTTON_IMAGESCALING_ASIS (0)Images are drawn at their native pixel size.
SFTBUTTON_IMAGESCALING_STRETCH (1)Default. Images are scaled by currentDPI / 96. Bitmaps use HALFTONE stretch; GDI+ images use InterpolationModeHighQualityBicubic.

imageScaling is independent of pixelScaling - either can be set to ASIS or STRETCH without affecting the other.

See Also SetImageScaling | GetImageScaling | Per-Monitor DPI and Scaling


Last Updated 04/26/2026 - (email)
© 2026 Softel vdm, Inc.