Skip to main content
All docs
V23.2

PdfButtonWidgetIconOptions.ScaleCondition Property

Gets or sets the conditions under which the icon is scaled inside the annotation rectangle.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public PdfIconScalingCircumstances ScaleCondition { get; set; }

Property Value

Type Description
PdfIconScalingCircumstances

An enumeration value that indicates the icon scale conditions.

Available values:

Name Description
Always

Always scale.

BiggerThanAnnotationRectangle

Scale only when the icon is bigger than the annotation rectangle.

SmallerThanAnnotationRectangle

Scale only when the icon is smaller than the annotation rectangle.

Never

Never scale.

Property Paths

You can access this nested property as listed below:

Object Type Path to ScaleCondition
PdfButtonWidgetFacade
.IconOptions .ScaleCondition
See Also