THotPDF.ExtractLoadedPagesText Method

Extracts text from the selected loaded-document pages in the requested one-based order and inserts the supplied separator between page results

Declaration

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

الوحدة

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