Table of Contents

Class TextArea

Namespace
iText.Forms.Form.Element
Assembly
itext.forms.dll

Extension of the FormField<T> class representing a button so that a TextAreaRenderer is used instead of the default renderer for fields.

public class TextArea : FormField<TextArea>, IFormField, IBlockElement, IAbstractElement, IElement, IPropertyContainer, IAccessibleElement, IPlaceholderable
Inheritance
TextArea
Implements
Inherited Members

Constructors

TextArea(string)

Creates a new TextArea instance.

public TextArea(string id)

Parameters

id string

the id

Methods

GetAccessibilityProperties()

public override AccessibilityProperties GetAccessibilityProperties()

Returns

AccessibilityProperties

GetDefaultProperty<T1>(int)

public override T1 GetDefaultProperty<T1>(int property)

Parameters

property int

Returns

T1

Type Parameters

T1

GetPlaceholder()

public virtual Paragraph GetPlaceholder()

Returns

Paragraph

MakeNewRenderer()

protected override IRenderer MakeNewRenderer()

Returns

IRenderer

SetPlaceholder(Paragraph)

public virtual void SetPlaceholder(Paragraph placeholder)

Parameters

placeholder Paragraph

UseAsPassword(bool)

Determines, whether the input field will be password.

public virtual TextArea UseAsPassword(bool isPassword)

Parameters

isPassword bool

true is this field shall be considered as password, false otherwise

Returns

TextArea

this input field

Remarks

Determines, whether the input field will be password.

Usually means that instead of glyphs '*' will be shown in case of flatten field.

If the field is not flatten, value will be ignored.