Click or drag to resize

PdfToggleButtonAppearance Class

Represents an appearance settings for a toggle button fields PdfCheckBoxField and PdfRadioButtonField.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.AnnotationsPdfAppearance
    SautinSoft.Pdf.FormsPdfFieldAppearance
      SautinSoft.Pdf.FormsPdfToggleButtonAppearance

Namespace: SautinSoft.Pdf.Forms
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.3.13
Syntax
public sealed class PdfToggleButtonAppearance : PdfFieldAppearance

The PdfToggleButtonAppearance type exposes the following members.

Properties
 NameDescription
Public propertyBackgroundColor Gets or sets the background color of the toggle button appearance.
Public propertyBorderColor Gets or sets the border color of the toggle button appearance.
Public propertyBorderDashPattern Gets or sets the border dash pattern of the toggle button appearance.
Public propertyBorderStyle Gets or sets the border style of the toggle button appearance.
Public propertyBorderWidth Gets or sets the border thickness of the toggle button appearance.
Public propertyFontColor Gets or sets the font color of the toggle button appearance text.
Public propertyFontSize

Gets or sets the font size of the toggle 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.

Public propertyStyle

Gets or sets the style of the toggle button appearance.

The usual values are:

Top
See Also