Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfButtonWidgetIconOptions.ScaleType Property

Gets or sets the icon’s scale type.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.2.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