Table of Contents

Interface IElement

Namespace
iTextSharp.text
Assembly
iTextSharp.LGPLv2.Core.dll

Interface for a text element.

public interface IElement

Properties

Chunks

methods

IList<Chunk> Chunks { get; }

Property Value

IList<Chunk>

an ArrayList

Type

Gets the type of the text element.

int Type { get; }

Property Value

int

a type

Methods

IsContent()

bool IsContent()

Returns

bool

IsNestable()

bool IsNestable()

Returns

bool

Process(IElementListener)

Processes the element by adding it (or the different parts) to an IElementListener.

bool Process(IElementListener listener)

Parameters

listener IElementListener

an IElementListener

Returns

bool

true if the element was processed successfully

ToString()

Gets the content of the text element.

string ToString()

Returns

string

the content of the text element