Property DefaultText
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
DefaultText
Gets or sets the default text content of the PdfTextBox control.
public string? DefaultText { get; set; }
Property Value
- string
The default text to which the field reverts when a reset-form action is executed.
Remarks
Default value: null.
When no default text is specified in the internal structures, this property returns
null.
Length of any new value assigned to this property gets validated against value of MaxLength property. For string values with length bigger than value specified by MaxLength property a PdfException is thrown.
Exceptions
- UnexpectedStructureException
The value in the internal PDF structure has an unexpected type.
- ArgumentNullException
valueisnull.