Skip to main content
All docs
V24.1

PdfButtonWidgetIconOptions.ScaleType Property

Gets or sets the icon’s scale type.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.1.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public PdfIconScalingType ScaleType { get; set; }

Property Value

Type Description
PdfIconScalingType

An enumeration value that indicates the scaling type.

Available values:

Name Description
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 Type Path to ScaleType
PdfButtonWidgetFacade
.IconOptions .ScaleType
See Also