Thetype exposes the following members.
Gets or sets the default text appearance for all child fields in the form (if not otherwise specified)..
Gets the field calculation sequence. If form fields contain a field calculation, the order of calculation can be specified by this list. A PDF viewer will perform the recalculation based on the order of this list.
Gets a value indicating whether form has signature fields.
Gets a value indicating whether there are any fields in this form.
Gets a value indicating whether saving the document will invalidate signatures.
Gets or sets the text alignment for all child fields in the form (if not otherwise specified).
Gets a collection of StoredStream objects that represent packets of XFA data contained within a PDF Document. Each StoredStream will contain XML data that represents the XFA data. XFA may be contained within a single stream or within a collection of packets, each of which represents a subsection of the XFA model.
Determines whether this form contains the given IFormElement
Releases all resources used by the
Releases the unmanaged resources used by theand optionally releases the managed resources
Enforces the parent/child relationships in form elements within a form field hierarchy. This is done by doing a breadth-first traversal of all form elements and forcing the child elements to point back to the parent. Calling this method will ensure that FieldFullName will return the correct value. Before saving a document or validation this method will get called automatically. Calling this method will ensure that the FieldFullName property returns the correct value.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Determines whether a give IFormElement is a leaf or a node.
Makes the repair context for repairing problems in this object. An object implementing IValidatable should at least return an empty RepairContext object. does not require an object passed in.
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Validates the object looking for problems.
PdfGeneratedDocument doc = new PdfGeneratedDocument(); doc.Form = new PdfForm(); PdfGeneratedPage page = doc.AddPage(PdfDefaultPages.Letter); TextWidgetAnnotation text = new TextWidgetAnnotation(new PdfBounds(72, 400, 200, 20), "name", null); page.Annotations.Add(text); doc.Form.Fields.Add(text); doc.Save("output.pdf");