Method Sort

Namespace TallComponents.PDF.TextExtraction
Class GlyphCollection

Sort the collection based on a custom comparer.

The glyphs are transformed during the sort only, the sorted collection contains the original glyphs.

Syntax

public  Void  Sort( IGlyphComparer  glyphComparer ,  Boolean  transformGlyphs )

Returns

Void

Parameters


IGlyphComparer glyphComparer
The custom glyph comparer.

Boolean transformGlyphs
Transform each glyph with the page transformation (orientation) before sorting.