Skip to main content
Skip table of contents

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
TypeNameMethods
string``[]ChoiceExportsget, set
intChoiceSelectionget, set
List<int>ChoiceSelectionsget, set
string``[]Choicesget, set
stringDefaultTextget, set
BaseFontExtensionFontget, set
List<BaseFont>SubstitutionFontsget, set
intVisibleTopChoiceget, set
Internal properties
TypeNameMethods
intTopFirstget

Methods

Public Static methods
ReturnsName
stringObfuscatePassword(string text)
stringRemoveCRLF(string text)
Public methods
Internal methods
Protected methods
ReturnsName
PdfFormFieldGetChoiceField(bool isList)

Details

Inheritance

Constructors

TextField

Source code

public TextField(PdfWriter writer, Rectangle box, string fieldName)
Arguments
TypeNameDescription
PdfWriterwriter
Rectanglebox
stringfieldName

Methods

RemoveCRLF

Source code

public static string RemoveCRLF(string text)
Arguments
TypeNameDescription
stringtext
ObfuscatePassword

Source code

public static string ObfuscatePassword(string text)
Arguments
TypeNameDescription
stringtext
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
TypeNameDescription
boolisList
AddChoiceSelection

Source code

public virtual void AddChoiceSelection(int selection)
Arguments
TypeNameDescription
intselection
SetExtraMargin

Source code

public virtual void SetExtraMargin(float extraMarginLeft, float extraMarginTop)
Arguments
TypeNameDescription
floatextraMarginLeft
floatextraMarginTop

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.