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.ScaleCondition Property

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

Namespace: DevExpress.Pdf

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