Class IconFitOptions
Controls how a button icon is scaled and positioned within the annotation rectangle.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Annotations
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class IconFitOptions
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
|
System.Double
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
|
System.Double
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
|
System.Boolean
|
ScaleCondition
Gets or sets when scaling occurs relative to the annotation area.
Declaration
public IconScaleCondition ScaleCondition { get; set; }
Property Value
|
IconScaleCondition
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
|
IconScalingType
The scaling mode applied to the icon. |