Back to Devexpress

PdfButtonWidgetIconOptions.ScaleType Property

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

latest1.7 KB
Original Source

PdfButtonWidgetIconOptions.ScaleType Property

Gets or sets the icon’s scale type.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfIconScalingType ScaleType { get; set; }
vb
Public Property ScaleType As PdfIconScalingType

Property Value

TypeDescription
PdfIconScalingType

An enumeration value that indicates the scaling type.

|

Available values:

NameDescription
Anamorphic

Scale the icon to fill the annotation rectangle exactly, ignoring its original aspect ratio.

| | Proportional |

Scale the icon to fit the width or height of the annotation rectangle and maintain the icon’s original aspect ratio.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ScaleType
PdfButtonWidgetFacade

.IconOptions .ScaleType

|

See Also

PdfButtonWidgetIconOptions Class

PdfButtonWidgetIconOptions Members

DevExpress.Pdf Namespace