iText 5

TextField

TextField Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.TextField[[TextField]] iTextSharp.text.pdf.BaseField[[BaseField]] class iTextSharp.text.pdf.BaseField abstractStyle; end iTextSharp.text.pdf.BaseField --> iTextSharp.text.pdf.TextField

Members

Properties

Public properties

Type

Name

Methods

string``[]

ChoiceExports

get, set

int

ChoiceSelection

get, set

List<int>

ChoiceSelections

get, set

string``[]

Choices

get, set

string

DefaultText

get, set

BaseFont

ExtensionFont

get, set

List<

BaseFont

>

SubstitutionFonts

get, set

int

VisibleTopChoice

get, set

Internal properties

Type

Name

Methods

int

TopFirst

get

Methods

Public Static methods

Returns

Name

string

ObfuscatePassword

(string text)

string

RemoveCRLF

(string text)

Public methods
Internal methods
Protected methods

Returns

Name

PdfFormField

GetChoiceField

(bool isList)

Details

Inheritance

Constructors

TextField

Source code

public TextField(PdfWriter writer, Rectangle box, string fieldName)

Arguments

Type

Name

Description

PdfWriter

writer

Rectangle

box

string

fieldName

Methods

RemoveCRLF

Source code

public static string RemoveCRLF(string text)

Arguments

Type

Name

Description

string

text

ObfuscatePassword

Source code

public static string ObfuscatePassword(string text)

Arguments

Type

Name

Description

string

text

GetAppearance

Source code

public virtual PdfAppearance GetAppearance()

GetListAppearance

Source code

internal PdfAppearance GetListAppearance()

GetTextField

Source code

public virtual PdfFormField GetTextField()

GetComboField

Source code

public virtual PdfFormField GetComboField()

GetListField

Source code

public virtual PdfFormField GetListField()

GetChoiceField

Source code

protected virtual PdfFormField GetChoiceField(bool isList)

Arguments

Type

Name

Description

bool

isList

AddChoiceSelection

Source code

public virtual void AddChoiceSelection(int selection)

Arguments

Type

Name

Description

int

selection

SetExtraMargin

Source code

public virtual void SetExtraMargin(float extraMarginLeft, float extraMarginTop)

Arguments

Type

Name

Description

float

extraMarginLeft

float

extraMarginTop

Properties

DefaultText

public virtual string DefaultText { get; set; }

Choices

public virtual string Choices { get; set; }

ChoiceExports

public virtual string ChoiceExports { get; set; }

ChoiceSelection

public virtual int ChoiceSelection { get; set; }

ChoiceSelections

public virtual List<int> ChoiceSelections { get; set; }

VisibleTopChoice

public virtual int VisibleTopChoice { get; set; }

TopFirst

internal int TopFirst { get; }

SubstitutionFonts

public virtual List<BaseFont> SubstitutionFonts { get; set; }

ExtensionFont

public virtual BaseFont ExtensionFont { get; set; }

Generated with ModularDoc