THotPDF.ExtractLoadedPagesToPDF Method
Ringkasan metode: THotPDF.ExtractLoadedPagesToPDF Method
Deklarasi
function ExtractLoadedPagesToPDF(const PageRange: string; const OutputPath: TFileName): boolean;
Unit
HPDFDoc
Parameter
| Nama | Tujuan |
|---|---|
PageRange | One-based page range such as 1,3-4; an empty value selects all pages |
OutputPath | Destination PDF file path |
Nilai balik
Returns True when at least one selected page is written to the destination file
Catatan penggunaan
- PageRange uses one-based page numbers and an empty value selects all pages
- OutputPath must be non-empty and the loaded source must contain at least one page
API terkait
- THotPDF
- THPDFPage
- Daftar isi