Click or drag to resize

PdfButtonField Class

Represents button field in the PDF form.
Inheritance Hierarchy

Namespace: Spire.Pdf.Fields
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfButtonField : PdfAppearanceField

The PdfButtonField type exposes the following members.

Constructors
Name Description
Public method PdfButtonField
Initializes a new instance of theclass.
Top
Properties
Name Description
Public property Actions
Gets the actions of the field.
(Inherited from PdfStyledField .)
Public property AlternateIcon
Gets or sets the widget annotation's alternate icon displayed when the mouse button is pressed within its active area, only available in Push mode.
Public property AlternateText
Gets or sets the text displayed when the mouse button is pressed within the annotation's active area, only available in Push mode.
Public property AnnotationFlags
Gets or sets the annotation flags.
(Inherited from PdfField .)
Public property Appearance
Gets the appearance.
(Inherited from PdfAppearanceField .)
Public property BackColor
Gets or sets the color of the background.
(Inherited from PdfStyledField .)
Public property BorderColor
Gets or sets the color of the border.
(Inherited from PdfStyledField .)
Public property BorderStyle
Gets or sets the border style.
(Inherited from PdfStyledField .)
Public property BorderWidth
Gets or sets the width of the border.
(Inherited from PdfStyledField .)
Public property Bounds
Gets or sets the bounds.
(Inherited from PdfStyledField .)
Public property Export
Gets or sets a value indicating whether thisis export.
(Inherited from PdfField .)
Public property Flatten
Gets or sets a value indicating whether thisis flatten.
(Inherited from PdfField .)
Public property Font
Gets or sets the font.
(Inherited from PdfStyledField .)
Public property FontSizeAuto
The font is to be auto-sized:its size is computed as a function of the height of the annotation rectangle.
(Inherited from PdfField .)
Public property ForeColor
Gets or sets the color of the text.
(Inherited from PdfStyledField .)
Public property Form
Gets the form.
(Inherited from PdfField .)
Public property FullName
Gets the full name.
(Inherited from PdfField .)
Public property HighlightMode
Gets or sets the highlighting mode.
(Inherited from PdfStyledField .)
Public property Icon
Gets or sets the widget annotation's normal icon displayed when it is not interacting with the user.
Public property IconLayout
Defining the icon layout.
Public property LayoutMode
Gets or sets the button layout mode.
Public property Location
Gets or sets the location.
(Inherited from PdfStyledField .)
Public property MappingName
Gets or sets the mapping name to be used when exporting interactive form field data from the document.
(Inherited from PdfField .)
Public property Name
Gets the name.
(Inherited from PdfField .)
Public property Page
Gets the page.
(Inherited from PdfField .)
Public property ReadOnly
Gets or sets a value indicating whether [read only].
(Inherited from PdfField .)
Public property Required
Gets or sets a value indicating whether thisis required.
(Inherited from PdfField .)
Public property RolloverIcon
Gets or sets the widget annotation's rollover icon displayed when the user rolls the cursor into its active area without pressing the mouse button, only available in Push mode.
Public property RolloverText
Gets or sets the text displayed when the user rolls the cursor into the annotation's active area without pressing the mouse button, only available in Push mode.
Public property Size
Gets or sets the size.
(Inherited from PdfStyledField .)
Public property Text
Gets or sets the caption text.
Public property TextAlignment
Gets or sets the text alignment.
(Inherited from PdfStyledField .)
Public property ToolTip
Gets or sets the tool tip.
(Inherited from PdfField .)
Public property Visible
Gets or sets a value indicating whether thisis visible.
(Inherited from PdfStyledField .)
Top
Methods
Name Description
Public method AddPrintAction
Adds Print action to current button field.
Remarks
Clicking on the specified button will trigger the Print Dialog Box.
Protected method DefineDefaultAppearance
Defines the default appearance.
(Inherited from PdfStyledField .)
Protected method DrawAppearance
Draws the appearance.
(Overrides PdfAppearanceField DrawAppearance(PdfTemplate) .)
Protected method DrawPressedAppearance
Draws the pressed appearance.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Protected method GetFont
Gets the font. If font is undefined default font will be used.
(Inherited from PdfStyledField .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method Initialize
Initializes an instance.
(Overrides PdfStyledField Initialize .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also