Table of Contents

Class PdfTextBox

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

Class for a text box control.

public sealed class PdfTextBox : PdfControl
Inheritance
PdfTextBox
Inherited Members

Remarks

The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.

Properties

Comb

(PDF 1.5) Gets or sets a value indicating whether this text box should be automatically divided into as many equally spaced positions, or combs, as the value of MaxLength property, and the text should be laid out into those combs.

DefaultText

Gets or sets the default text content of the PdfTextBox control.

Font

Gets or sets the font used to display text in this PdfTextBox.

FontColor

Gets or sets the color of the font used to display text in this PdfTextBox.

FontSize

Gets or sets the size of the font (in points) used to display text in this PdfTextBox.

MaxLength

Gets or sets the maximum number of characters that can be entered into the text box.

Multiline

Gets or sets a value indicating whether the text of this PdfTextBox can span more than one line.

PasswordField

Gets or sets a value indicating whether this text box is intended for entering a secure password that should not be echoed visibly to the screen. Characters typed from the keyboard should instead be echoed in some unreadable form, such as asterisks or bullet characters.

Scrollable

(PDF 1.4) Gets or sets a value indicating whether this text box can scroll.

Text

Gets or sets the text content of the PdfTextBox control.

TextAlign

(PDF 1.4) Gets or sets a value indicating how the text should be aligned horizontally within text box.

Methods

ToString()

Returns a string that represents this PdfTextBox instance.