ImageScaling
Specifies how an image should be scaled to fit within its allocated space.
Definition
Namespace:Telerik.WinControls.Enumerations
Assembly:Telerik.WinControls.dll
Syntax:
public enum ImageScaling
Fields
The image is displayed at its original size without any scaling.
None = 0
When None is specified, the image maintains its natural dimensions regardless of the available space. If the image is larger than the available space, it may be clipped. If the space is larger than the image, the image will not fill the entire area.
The image is scaled to fit within the available space while maintaining its aspect ratio.
SizeToFit = 1
When SizeToFit is specified, the image is scaled proportionally to fit entirely within the available bounds without distortion. The entire image will be visible, but there may be empty space if the aspect ratios don't match perfectly.