THotPDF.ExtractLoadedPageGlyphsWithForms Method

Private helper of THotPDF that sits behind the page text methods: it returns the glyphs of a loaded page together with those of the Form XObjects the page paints, in painting order

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based index of the loaded page
GlyphsReceives the glyphs in user space; glyphs coming from forms carry a TokenIndex and ItemIndex of -1

Return value

True when the page content could be read and interpreted

Usage notes

Related APIs