Skip to main content
All docs
V25.1
  • 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.1.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