THotPDF.ExtractVisibleLoadedPageGlyphs Method

Extracts the glyphs of a loaded page that sit inside the page's visible box, so text output agrees with what the page actually shows

Declaration

function ExtractVisibleLoadedPageGlyphs(PageIndex: Integer;
  out Glyphs: THPDFGlyphArray): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the loaded page
GlyphsReceives the visible glyph records together with their quad coordinates

Return value

True when the page's glyphs were extracted, otherwise False

Usage notes

Related APIs