HeaderPane
Main
Hide
Share Link
Print

ImageScaling Property, SoftelvdmUserControl Class

Defines whether images are scaled with the display DPI.

Class: SoftelvdmUserControl
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public ImageScalingEnum ImageScaling { get; set; }
Public Property ImageScaling As ImageScalingEnum

Value

The image scaling setting.

The default value is ImageScalingEnum.AsIs.

Comments

Defines whether images are scaled with the display DPI.

With ImageScalingEnum.Stretch, all images are treated as designed for 96 DPI and are drawn larger or smaller to match the DPI of the monitor showing the control. This includes the built-in images such as check boxes, radio buttons, expand/collapse buttons and sort indicators, and images defined by the application.

With ImageScalingEnum.AsIs, images are drawn at their size in pixels, as in earlier versions.

See Also SoftelvdmUserControl Class | Classes | SftTree/NET 3.0