Table of Contents

Class TextChunk

Namespace
iText.Kernel.Pdf.Canvas.Parser.Listener
Assembly
itext.kernel.dll

Represents a chunk of text, it's orientation, and location relative to the orientation vector

public class TextChunk
Inheritance
TextChunk
Derived
Inherited Members

Constructors

TextChunk(string, ITextChunkLocation)

public TextChunk(string @string, ITextChunkLocation loc)

Parameters

string string
loc ITextChunkLocation

Fields

location

protected readonly ITextChunkLocation location

Field Value

ITextChunkLocation

text

the text of the chunk

protected readonly string text

Field Value

string

Methods

GetLocation()

public virtual ITextChunkLocation GetLocation()

Returns

ITextChunkLocation

GetText()

public virtual string GetText()

Returns

string

the text captured by this chunk