Table of Contents

Method GetCharacters

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

GetCharacters()

Gets the collection of all characters in this chunk.

public PdfCollection<PdfTextData> GetCharacters()

Returns

PdfCollection<PdfTextData>

Collection of all characters in this chunk with their bounding rectangles. Characters are ordered according to the visual order.

Remarks

Characters are always ordered according to the visual order. I.e., from left to right for horizontal writing mode.

This method is useful when you extract text as is or by words (for example, using GetWords()). In this case, you can get information about specific characters within text chunks. You may use this information to analyze text and bounds of characters.

This method is useless when you extract text by characters (using GetChars()). In this case, you will always get the same single character.