Class
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:

cs-api-definition
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

cs-api-definition
public double BlankSpaceFromTheBottomSide { get; set; }

Property Value

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

cs-api-definition
public double BlankSpaceFromTheLeftSide { get; set; }

Property Value

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

cs-api-definition
public bool IgnoreBorderWidth { get; set; }

Property Value

bool

true to ignore border width; otherwise, false.

ScaleCondition

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

Declaration

cs-api-definition
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

cs-api-definition
public IconScalingType ScalingType { get; set; }

Property Value

IconScalingType

The scaling mode applied to the icon.