PdfTextWord Class

A word of the text of a page: glyphs of a line that no space separates (see PdfPage.ExtractTextLayout).

public sealed class PdfTextWord

Properties

NameDescription
BoundsGets the smallest rectangle that contains the bounds of the glyphs of the word.
GlyphsGets the glyphs of the word, in the order of the content.
TextGets the text of the word: the text of its glyphs.

Gets the smallest rectangle that contains the bounds of the glyphs of the word.

public PdfRectangle Bounds { get; }

Property value

PdfRectangle

Gets the glyphs of the word, in the order of the content.

public IReadOnlyList<PdfTextGlyph> Glyphs { get; }

Gets the text of the word: the text of its glyphs.

public string Text { get; }

Property value

string

Methods

NameDescription
ToString()Returns a string that represents the current object.

ToString()

PdfTextWord.cs

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.