Pdf |
The PdfButtonAppearance type exposes the following members.
Name | Description | |
---|---|---|
![]() | BackgroundColor | Gets or sets the background color of the button appearance. |
![]() | BorderColor | Gets or sets the border color of the button appearance. |
![]() | BorderDashPattern | Gets or sets the border dash pattern of the button appearance. |
![]() | BorderStyle | Gets or sets the border style of the button appearance. |
![]() | BorderWidth | Gets or sets the border thickness of the button appearance. |
![]() | FontColor | Gets or sets the font color of the button appearance text. |
![]() | FontFace | Gets or sets the font face of the button appearance text. |
![]() | FontSize | Gets or sets the font size of the button appearance text. A zero value for size means that the font shall be auto-sized: its size shall be computed as a function of the size of the annotation rectangle. |
![]() | Icon | Gets or sets the icon. |
![]() | IconAlignment | Gets or sets the two numbers that shall be between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left and bottom of the Icon. A value of (0.0, 0.0) shall position the icon at the bottom-left corner of the annotation rectangle. A value of (0.5, 0.5) shall center it within the rectangle. This entry shall be used only if the icon is scaled proportionally. |
![]() | IconFitToBounds | (Optional; PDF 1.5) If , indicates that the button appearance shall be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border. |
![]() | IconScaleCondition | Gets or sets the condition under which the Icon shall be scaled inside the annotation rectangle. |
![]() | IconScaleProportional | Gets or sets a value indicating whether to scale the Icon to fit the width or height of the annotation rectangle while maintaining the icon's original aspect ratio. If the required horizontal and vertical scaling factors are different, the smaller of the two is used, centering the icon within the annotation rectangle in the other dimension. If , the Icon is scaled to fill the annotation rectangle exactly, without regard to its original aspect ratio (ratio of width to height). |
![]() | Label | Gets or sets the label. |
![]() | LabelPlacement | Gets or sets the placement of the Label relative to its Icon. |
Name | Description | |
---|---|---|
![]() | GetIcon | Gets the icon for the specified appearance trigger. |
![]() | GetLabel | Gets the label for the specified appearance trigger. |
![]() | SetIcon | Sets the icon for the specified appearance trigger. |
![]() | SetLabel | Sets the label for the specified appearance trigger. |