officefileapi-devexpress-dot-pdf-dot-pdfformfieldfacade-f5a2c03a.md
Gets the form field type.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Core.dll
NuGet Package : DevExpress.Pdf.Core
public abstract PdfFormFieldType Type { get; }
Public MustOverride ReadOnly Property Type As PdfFormFieldType
| Type | Description |
|---|---|
| PdfFormFieldType |
An enumeration value that indicates the form field type.
|
Available values:
| Name | Description |
|---|---|
| Unknown |
Unknown type.
| | Node |
Base field in a field group.
| | PushButton |
Push button.
| | CheckBox |
Check box.
| | RadioGroup |
Radio group.
| | ListBox |
List box.
| | ComboBox |
Combo box.
| | Text |
Text form field.
| | Signature |
Signature form field.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Type property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
pdf-document-api-change-pdf-form-field-parameters/CS/pdf-form-fields/Program.cs#L90
//Change border style for text form fields:
if (field.Type == PdfFormFieldType.Text)
{
pdf-document-api-change-pdf-form-field-parameters/VB/pdf-form-fields/Program.vb#L68
'Change border style for text form fields:
If field.Type = PdfFormFieldType.Text Then
pdfWidget.BorderStyle = PdfBorderStyle.Underline
See Also