Table of Contents

Property Text

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Text

Gets or sets the text content of the PdfTextBox control.

public string? Text { get; set; }

Property Value

string

The text displayed in the PdfTextBox control.

Remarks

Default value: null.

When no 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.