THotPDF.ExtractLoadedPagesToPDF Method

Method summary: THotPDF.ExtractLoadedPagesToPDF Method

Declaration

function ExtractLoadedPagesToPDF(const PageRange: string; const OutputPath: TFileName): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
PageRangeOne-based page range such as 1,3-4; an empty value selects all pages
OutputPathDestination PDF file path

Return value

Returns True when at least one selected page is written to the destination file

Usage notes

Related APIs