PdfPushButtonField Class

A push button of an interactive form, which performs an action when it is clicked

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public sealed class PdfPushButtonField : PdfWidgetFormField
Inheritance
Object    PdfFormField    PdfWidgetFormField    PdfPushButtonField

Constructors

Properties

Action The action performed when the button is clicked, the same as Activate of Actions
Actions The actions performed by the PDF viewer on the events of the field
(Inherited from PdfFormField)
AutoFontSize A flag indicating if the font size is chosen automatically to fit the caption in the button, ignoring the size of Font. The default value is false
BackgroundColor The background color of the field, or null for a transparent background. The default value is null
(Inherited from PdfWidgetFormField)
BorderColor The color of the field border, or null for no border. The default value is null
(Inherited from PdfWidgetFormField)
BorderStyle The style of the field border. The default value is Solid
(Inherited from PdfWidgetFormField)
BorderWidth The width of the field border, in points. The default value is 1
(Inherited from PdfWidgetFormField)
Caption The text displayed on the button
Description The description of the field shown by PDF viewers as a tooltip and read by assistive technology. The field name is used when it is not set
(Inherited from PdfFormField)
Exportable A flag indicating if the value of the field is included when the form is submitted. The default value is true
(Inherited from PdfFormField)
Font The font of the caption. A standard Helvetica font of 12 points is used when it is not set
Height The height of the field, in points
(Inherited from PdfWidgetFormField)
Icon The image displayed on the button as an icon, or null for no icon. The default value is null
Layout The arrangement of the caption and the icon. The default value is CaptionOnly, which changes to CaptionBelowIcon when an icon is set
MappingName The name used for the field when the form data is exported. The field name is used when it is not set
(Inherited from PdfFormField)
Name The name of the field, unique in the document
(Inherited from PdfFormField)
PageNumber The 1-based number of the page where the field is placed
(Inherited from PdfWidgetFormField)
ReadOnly A flag indicating if the user cannot change the value of the field. The default value is false
(Inherited from PdfFormField)
Required A flag indicating if the field must have a value when the form is submitted. The default value is false
(Inherited from PdfFormField)
Visibility The visibility of the field on screen and in print. The default value is Visible
(Inherited from PdfWidgetFormField)
Width The width of the field, in points
(Inherited from PdfWidgetFormField)
X The left position of the field, in points, from the left margin of a document being created or from the left edge of the page of an edited document
(Inherited from PdfWidgetFormField)
Y The top position of the field, in points, from the top margin of a document being created or from the top edge of the page of an edited document
(Inherited from PdfWidgetFormField)

Methods

Equals
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
SetIcon(Byte) Sets the image displayed on the button as an icon from a memory buffer
SetIcon(String) Sets the image displayed on the button as an icon from a file
ToString
(Inherited from Object)

See Also