Skip to main content

PdfAcroFormTextBoxField Members

A text box form field.

Constructors

Name Description
PdfAcroFormTextBoxField(String, Int32, PdfRectangle) Initializes a new instance of the PdfAcroFormTextBoxField class with the specified text box field name, page number, where the field will be created, and the field rectangle in user coordinate system.

Properties

Name Description
Appearance Specifies the appearance settings for the interactive form field. Inherited from PdfAcroFormVisualField.
MaxLength Specifies the maximum text length for a text box field.
Multiline Specifies whether the text box field should contain multiple lines of text.
Name Specifies the interactive form field name. Inherited from PdfAcroFormField.
PageNumber Specifies page number where the interactive form field will be created. Inherited from PdfAcroFormVisualField.
Print Specifies whether the current form field is printed. Inherited from PdfAcroFormVisualField.
ReadOnly Gets or sets whether the interactive form field allows edit operations. Inherited from PdfAcroFormVisualField.
Rectangle Specifies a rectangle inside which an interactive form field is located on a page. Inherited from PdfAcroFormCommonVisualField.
Required Gets or sets the required status of the interactive form field. Inherited from PdfAcroFormVisualField.
Rotation Specifies the rotation to apply to interactive form field. Inherited from PdfAcroFormVisualField.
Scrollable Specifies whether a text box field can be scrollable when the entered text exceeds the field area.
SpellCheck Specifies whether text entered to a text box field is spell checked.
Text Specifies text of the text box field.
TextAlignment Specifies the horizontal alignment of the interactive form field’s text. Inherited from PdfAcroFormCommonVisualField.
ToolTip Specifies the form field’s tooltip text. Inherited from PdfAcroFormField.
Type Specifies the type of the text box field.
ValueFormat Provides access to the field value format options.
Visible Specifies whether the form field is visible on the page. Inherited from PdfAcroFormVisualField.

Methods

Name Description
AddWidget(PdfRectangle) Adds a widget annotation related to the text box. The widget is added to the page where the form field is located.
AddWidget(Int32, PdfRectangle) Adds a widget annotation related to the text box. Allows you to specify a page to which the widget should be added.
ClearWidgets() Removes all additional widget annotations.
CreateCheckBox(String, Int32, PdfRectangle) static Creates a check box field using the field name, page number, and a rectangle where the check box field will be located on a page. Inherited from PdfAcroFormField.
CreateComboBox(String, Int32, PdfRectangle) static Creates a combo box field using the field name, page number, and a rectangle where the combo box field will be located on a page. Inherited from PdfAcroFormField.
CreateGroup(String) static Creates a group form field using the field name. Inherited from PdfAcroFormField.
CreateListBox(String, Int32, PdfRectangle) static Creates a list box field using the field name, page number and a rectangle where the list box field will be located on a page. Inherited from PdfAcroFormField.
CreateRadioGroup(String, Int32) static Creates a radio group field using the field name, and page number. Inherited from PdfAcroFormField.
CreateSignature(String, Int32, PdfRectangle) static Creates a signature field using the field name, page number and a rectangle where a signature field will be located on a page. Inherited from PdfAcroFormField.
CreateTextBox(String, Int32, PdfRectangle) static Creates a text box field using the field name, page number, and a rectangle where a text box field will be located on a page. Inherited from PdfAcroFormField.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also