Back to Devexpress

PdfButtonWidgetIconOptions.ScaleCondition Property

officefileapi-devexpress-dot-pdf-dot-pdfbuttonwidgeticonoptions.md

latest1.8 KB
Original Source

PdfButtonWidgetIconOptions.ScaleCondition Property

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

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfIconScalingCircumstances ScaleCondition { get; set; }
vb
Public Property ScaleCondition As PdfIconScalingCircumstances

Property Value

TypeDescription
PdfIconScalingCircumstances

An enumeration value that indicates the icon scale conditions.

|

Available values:

NameDescription
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 TypePath to ScaleCondition
PdfButtonWidgetFacade

.IconOptions .ScaleCondition

|

See Also

PdfButtonWidgetIconOptions Class

PdfButtonWidgetIconOptions Members

DevExpress.Pdf Namespace