New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
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).

C#
public double BlankSpaceFromTheBottomSide { get; set; }
Property Value:

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).

C#
public double BlankSpaceFromTheLeftSide { get; set; }
Property Value:

A value in [0,1] controlling left-side blank space.

Gets or sets whether border thickness is ignored when computing the fit region.

C#
public bool IgnoreBorderWidth { get; set; }
Property Value:

true to ignore border width; otherwise, false.

Gets or sets when scaling occurs relative to the annotation area.

C#
public IconScaleCondition ScaleCondition { get; set; }
Property Value:

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).

C#
public IconScalingType ScalingType { get; set; }
Property Value:

The scaling mode applied to the icon.