Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
Leadtools.Pdf Assembly > Leadtools.Pdf Namespace : PDFFormField Class |
[SerializableAttribute()] public class PDFFormField
'Declaration
<SerializableAttribute()> Public Class PDFFormField
'Usage
Dim instance As PDFFormField
public class PDFFormField
[SerializableAttribute()] public ref class PDFFormField
The PDFFormField class contains the properties of PDF form field objects such as text boxes, check boxes, list boxes, combo boxes and radio buttons. It provides the following form field support:
The PDFFormField class contains the following members:
Member | Description |
---|---|
Bounds |
The location and size of the field on the page. |
PageNumber |
The 1-based number of the page that owns this field. |
Name |
Name of the field. |
AlternateName |
Alternate name of the field. |
MappingName |
Mapping name of the field. |
OptionalName |
Optional name. |
FieldType |
The field type (such as text box, check box, list box, combo box or radio button) |
ContentType |
The content type (such as text, number, date or time). |
Contents |
List of the contents set in the field |
ContentValues |
List of values for each content if the field supports multiple values. |
MaxLength |
Maximum length of the field content. |
GroupId |
Optional ID if this field is part of a group. |
SelectedContents |
The selected contents if this field is a list box. |
State |
State of the field if supported such as a selected or cleared radio button. |
ViewFlags |
View flags associated with the field. |
FieldFlags |
Other flags associated with the field. |
FillMode |
Fill mode of this field. |
FillColor |
Background color of the field. |
BorderStyle |
Border style. |
BorderWidth |
Border width. |
BorderColor |
Border color. |
TextColor |
Foreground (text) color |
FontName |
Font name to use with the text of this field. |
FontSize |
Font size to use with the text of this field. |
TextJustification |
Justification to use for text of this field. |
Rotation |
Rotation angle of the field. |
LEADTOOLS supports loading all form fields from a PDF file. Due to the nature and complexity of PDF form fields, (especially the prevalent use of PDF files that contain many custom and user-defined fields), LEADTOOLS reads the data as is and sets it in PDFFormField without any modification. Refer to the PDF Form Fields Demo for an example of parsing data to generate a live, editable PDF file.