Form
Base class representing a PDF form.
public class Form : Resource
Public Class Form
Inherits Resource
Inheritance: ObjectResourceForm
Licensing Info
Basic usage of this class is a DynamicPDF Core Suite Essentials feature. However, some properties or methods require full licensing and are noted accordingly. One of the following is required for non-evaluation usage:
- Any active DynamicPDF Subscription (Essentials, Professional, Professional Plus or Ultimate).
- A DynamicPDF Core Suite for .NET v12.X Essentials license.
- It can also be used for free with a public link back to www.dynamicpdf.com and with the DynamicPDF Essentials message displaying on the bottom of each page.
Properties
Align | Gets or Sets the document’s wide alignment for variable text fields. |
CalculationOrder | Gets the form's calculation order. |
DefaultAlign | Gets or sets the default alignment for the form. |
DefaultAppearance | Gets or sets the default appearance for the form. |
DefaultColor | Gets the default color for all the variable text fields. |
DefaultFont | Gets the font default for all the variable text fields. |
DefaultFontSize | Gets the default font size for all the variable text fields. |
DefaultResources | Gets or sets the default appearance for the form. |
ExcludeXfaDataIfValuesChanged | Gets or sets a value indicating to exclude the XFA if the form field value is changed. |
Fields | Gets a collection of fields for the form. |
IsReadOnly | Gets or sets a value indicating if the form is read only. |
NeedsAppearances | Gets or sets a value indicating if the form needs appearance streams. |
Output | Gets or Sets the output options for the form. |
RequiredPdfObjects | Gets the number of PDF objects required by the resource. (Inherited from Resource) |
ResourceType | Gets the type of resource. (Inherited from Resource) |
SignatureFieldsOutput | Gets or Sets output options for the signature fields. |
SignatureFlags | Gets or sets the signature flags for the form. |
SubstituteFont | Gets or Sets the Font to be used as a substitute font for form fields. |
Uid | Gets the unique ID of the resource. (Inherited from Resource) |
Methods
Draw(DocumentWriter) | Draws the form to the given DocumentWriter object. |
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) |
GetTextFields() | Returns a collection of text form fields. |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
RequireLicense(Int32) | Sets the required license level for the form. |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |
Events
Form.FormFieldsAdded | Occurs when the fields are added to the Document's Form. |