Class IconFitOptions
Represents options specifying how to fit the button icon inside 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 percentage of vertical blank space allocated to the bottom side after proportional scaling. The value must be between 0 and 1. The default value is 0.5, meaning equal bottom and top blank spaces (vertically centered icon).
Declaration
public double BlankSpaceFromTheBottomSide { get; set; }
Property Value
System.Double
A double value between 0.0 and 1.0 representing the bottom space distribution. |
BlankSpaceFromTheLeftSide
Gets or sets the percentage of horizontal blank space allocated to the left side after proportional scaling. The value must be between 0 and 1. The default value is 0.5, meaning equal left and right blank spaces (horizontally centered icon).
Declaration
public double BlankSpaceFromTheLeftSide { get; set; }
Property Value
System.Double
A double value between 0.0 and 1.0 representing the left space distribution. |
IgnoreBorderWidth
Gets or sets a value indicating whether to ignore annotation border thickness when calculating icon fit.
Declaration
public bool IgnoreBorderWidth { get; set; }
Property Value
System.Boolean
|
ScaleCondition
Gets or sets the conditions that determine when the icon should be scaled to fit within the annotation area.
Declaration
public IconScaleCondition ScaleCondition { get; set; }
Property Value
IconScaleCondition
The scaling condition that controls icon resizing behavior. |
ScalingType
Gets or sets the type of scaling to apply when resizing the icon.
Declaration
public IconScalingType ScalingType { get; set; }
Property Value
IconScalingType
The scaling type that determines how the icon is resized (proportional or non-proportional). |