PdfTextFieldOptions Class
The attributes of a text field created by PdfInteractiveForm.AddTextField.
public sealed class PdfTextFieldOptions : PdfFormFieldOptions- Inheritance
PdfFormFieldOptionsPdfTextFieldOptions
Constructors
| Name | Description |
|---|---|
| PdfTextFieldOptions() |
PdfTextFieldOptions()
public PdfTextFieldOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Alignment | Gets or sets the alignment of the text: left, centered or right. The default is PdfTextAlignment.Left. |
| DoNotScroll | Gets or sets a value indicating whether viewers do not scroll the text when it does not fit in the field. |
| DoNotSpellCheck | Gets or sets a value indicating whether viewers do not check the spelling of the text. |
| IsComb | Gets or sets a value indicating whether the field is divided into PdfTextFieldOptions.MaxLength cells of one character. It needs PdfTextFieldOptions.MaxLength, and the field cannot be multiline nor a password. |
| IsMultiline | Gets or sets a value indicating whether the field can have several lines. |
| IsPassword | Gets or sets a value indicating whether the text is a password, shown as asterisks. |
| MaxLength | Gets or sets the maximum length of the text, or null for none. |
| Value | Gets or sets the text of the field, or null for an empty field. |
Alignment
PdfTextFieldOptions.csGets or sets the alignment of the text: left, centered or right. The default is PdfTextAlignment.Left.
public PdfTextAlignment Alignment { get; set; }Property value
DoNotScroll
PdfTextFieldOptions.csDoNotSpellCheck
PdfTextFieldOptions.csIsComb
PdfTextFieldOptions.csGets or sets a value indicating whether the field is divided into PdfTextFieldOptions.MaxLength cells of one character. It needs PdfTextFieldOptions.MaxLength, and the field cannot be multiline nor a password.
public bool IsComb { get; set; }