IconFitOptions
Controls how a button icon is scaled and positioned within the annotation rectangle.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Annotations
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class IconFitOptions
Inheritance: objectIconFitOptions
Properties
Gets or sets the fraction of remaining vertical space placed at the bottom after scaling (0..1, default 0.5 centers vertically).
public double BlankSpaceFromTheBottomSide { get; set; }
A value in [0,1] controlling bottom-side blank space.
Gets or sets the fraction of remaining horizontal space placed on the left after scaling (0..1, default 0.5 centers horizontally).
public double BlankSpaceFromTheLeftSide { get; set; }
A value in [0,1] controlling left-side blank space.
Gets or sets whether border thickness is ignored when computing the fit region.
public bool IgnoreBorderWidth { get; set; }
true to ignore border width; otherwise, false.
Gets or sets when scaling occurs relative to the annotation area.
public IconScaleCondition ScaleCondition { get; set; }
The condition controlling whether the icon is resized.
Gets or sets how the icon scales when resizing is needed (fit exactly or preserve aspect ratio).
public IconScalingType ScalingType { get; set; }
The scaling mode applied to the icon.