THPDFHeadlessDocument.ExtractPageText
Unit: HPDFHeadlessDocument
function ExtractPageText(PageIndex: Integer): UnicodeString;
Return Unicode text for a zero-based page index using the shared font decoder and content interpreter
Content arrays and nested Form XObjects apply inherited resources and matrices; ToUnicode handles BMP and supplementary characters, and text without an available decoding strategy is outside the profile
Marked-content ActualText replaces the covered text, including inline and named property dictionaries, nested Form paints and empty replacements; the outer replacement covers its contained content
Consecutive replacement sequences are joined as character substitutions without an inferred word break, and the final covered glyph retains the connection geometry for following ordinary text
This semantic assembly path is private to text extraction; ExtractPageGlyphs keeps physical glyph records and geometry, while extraction permissions, cancellation and byte/glyph limits still apply
Structure-element replacement and unrestricted reader interoperability are not implied; a retained nested-property control differs from an external reader and is documented in the focused evidence