GetReadingOrder(PdfPage, HitTestIndex) Method

Definition

Assembly Broadside.Viewer.dll

Gives the selectable glyphs of a page in reading order.

public int[] GetReadingOrder(PdfPage page, HitTestIndex index)

Parameters

page
PdfPage

The page.

index
HitTestIndex

The page's hit-test index; its glyph indices are what the order lists.

Returns

Int32[]
Glyph indices of index (0 to GlyphCount − 1), each at most once, in reading order. A glyph left out cannot be selected.