THotPDF.ExtractLoadedPagesTextToStream Method

Writes loaded page text as UTF-8 to a caller-owned stream whilst retaining only one page of Unicode text in memory

Declaration

function ExtractLoadedPagesTextToStream(Stream: TStream; const PageRange: string= ''; const PageSeparator: UnicodeString= #12; WriteBOM: boolean= False): Integer;

Parameters

Return value

Returns the number of selected pages whose text was extracted successfully