THotPDF.ExtractLoadedPagesText Method

Method summary: THotPDF.ExtractLoadedPagesText Method

Declaration

function ExtractLoadedPagesText(const PageRange: string; const PageSeparator: UnicodeString= #12): UnicodeString;

Unit

HPDFDoc

Parameters

NamePurpose
PageRangeOne-based page range such as 1,3-4; an empty value selects all pages
PageSeparatorUnicode text inserted between page results, defaulting to a form-feed character

Return value

Returns the aggregated Unicode text

Usage notes

Related APIs