ClassIconFitOptions
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
BlankSpaceFromTheBottomSide
Gets or sets the fraction of remaining vertical space placed at the bottom after scaling (0..1, default 0.5 centers vertically).
Declaration
public double BlankSpaceFromTheBottomSide { get; set; }
Property Value
A value in [0,1] controlling bottom-side blank space.
BlankSpaceFromTheLeftSide
Gets or sets the fraction of remaining horizontal space placed on the left after scaling (0..1, default 0.5 centers horizontally).
Declaration
public double BlankSpaceFromTheLeftSide { get; set; }
Property Value
A value in [0,1] controlling left-side blank space.
IgnoreBorderWidth
Gets or sets whether border thickness is ignored when computing the fit region.
Declaration
public bool IgnoreBorderWidth { get; set; }
Property Value
true to ignore border width; otherwise, false.
ScaleCondition
Gets or sets when scaling occurs relative to the annotation area.
Declaration
public IconScaleCondition ScaleCondition { get; set; }
Property Value
The condition controlling whether the icon is resized.
ScalingType
Gets or sets how the icon scales when resizing is needed (fit exactly or preserve aspect ratio).
Declaration
public IconScalingType ScalingType { get; set; }
Property Value
The scaling mode applied to the icon.