←Select platform

FormFields Property

Summary
Gets a list of the form fields found on this page.
Syntax
C#
VB
C++
Java
publicIList<PDFFormField> FormFields {get;}
PublicReadOnlyPropertyFormFieldsAsIList(Of PDFFormField)
public并不知道<PDFFormField> getFormFields();
public:propertyIList^ FormFields {IList^ get();}

Property Value

An IList ofPDFFormFielditems that contains the form fields found on the page. The default value isnull.

Remarks

By default, theAnnotations,Objects,FormFields,SignaturesandHyperlinkslists are not populated when a newPDFDocumentis created and the values of these properties arenull. You must call thePDFDocument.ParsePagesmethod to parse the items are you interested in (depending on thePDFParsePagesOptionspassed as theoptionsparameter to the method). This is done for performance reasons and to give the user the ability to parse only the objects and pages of interest.

TheFormFieldslist will be populated ifPDFParsePagesOptions.FormFieldsis passed as part of theoptionsparameter toPDFDocument.ParsePages. After this method returns, all the pages parsed will have theirFormFieldsproperties populated either with a list of the form fields found in the page or an empty list (with IList .Count equal to 0).

When parsing is finished, theFormFieldsproperty will contain a list of thePDFFormFielditems found in the page.

Example

For an example on general parsing of PDF pages, refer toPDFDocumentPage, for an example on drawing the objects of a page on the surface of an image, refer toPDFObject.

Requirements

Target Platforms

Leadtools.Pdf Assembly
188金宝搏的网址客服|Support|Contact Us|Intellectual Property Notices
© 1991-2021LEAD Technologies, Inc.All Rights Reserved.