Table of Contents

Class PdfTextField

Namespace
PdfSharp.Pdf.AcroForms
Assembly
PdfSharp.dll

Represents the text field.

public sealed class PdfTextField : PdfAcroField, ICloneable, IEnumerable<KeyValuePair<string, PdfItem?>>, IEnumerable
Inheritance
PdfTextField
Implements
Inherited Members

Properties

BackColor

Gets or sets the background color of the field.

public XColor BackColor { get; set; }

Property Value

XColor

Font

Gets or sets the font used to draw the text of the field.

public XFont Font { get; set; }

Property Value

XFont

ForeColor

Gets or sets the foreground color of the field.

public XColor ForeColor { get; set; }

Property Value

XColor

MaxLength

Gets or sets the maximum length of the field.

public int MaxLength { get; set; }

Property Value

int

The length of the max.

MultiLine

Gets or sets a value indicating whether the field has multiple lines.

public bool MultiLine { get; set; }

Property Value

bool

Password

Gets or sets a value indicating whether this field is used for passwords.

public bool Password { get; set; }

Property Value

bool

Text

Gets or sets the text value of the text field.

public string Text { get; set; }

Property Value

string