FormElement
Class represents the base class for all the form field page elements.
public abstract class FormElement : TaggablePageElement, ISerializable
Public MustInherit Class FormElement
Inherits TaggablePageElement
Implements ISerializable
Inheritance: ObjectPageElementTaggablePageElementFormElement
Implements: ISerializable
Derived: AutoCheckBox, AutoRadioButton, Button, CheckBox, ChoiceField, ComboBox, ListBox, RadioButton, RichTextField, Signature, TextField
Licensing Info
This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Properties
BackgroundColor | Gets or Sets the fill/background color of a form field. |
BorderColor | Gets or Sets the border color of a form field. |
BorderStyle | Gets or Sets the BorderStyle . |
Height | Gets or Sets the height of a form field. |
ID | Gets or sets the ID of the page element. (Inherited from PageElement) |
IgnoreMargins | Gets or sets ignore margin property. Setting false will consider the margin while placing the page element based on the RelativeTo property. (Inherited from PageElement) |
MappingName | Gets or Sets an mapping name, of a form field. |
Name | Gets or Sets the name of a form field. |
Output | Gets or sets output options for the field. |
Printable | Gets or Sets the form field printable on Pdf. By default its true. |
ReaderEvents | Gets the reader events of the annotation. |
ReadOnly | Gets or Sets the read only property status of the form field. |
RelativeTo | Gets and sets placement of the page element on the page. (Inherited from PageElement) |
Rotate | Gets or Sets the angle of a form field. Rotation angle should be multiple of 90, default is 0. |
Tag | Gets or sets the structure element of the form element. |
TagOrder | Gets or sets the tag order of the taggable element. (Inherited from TaggablePageElement) |
TextColor | Gets or Sets the color of the text for the field. |
ToolTip | Gets or Sets an alternate field name, of a form field. |
Visible | Gets or Sets the form field visible on Pdf. By default its true. |
Width | Gets or Sets the width of a form field. |
X | Gets or Sets the X coordinate of a form field. |
Y | Gets or Sets the Y coordinate of a form field. |
Methods
Draw(PageWriter) | Draws the taggable page element to the given PageWriter class. (Inherited from TaggablePageElement) |
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |