THotPDF.ExtractLoadedPagesToPDF Method
สรุปเมธอด: THotPDF.ExtractLoadedPagesToPDF Method
การประกาศ
function ExtractLoadedPagesToPDF(const PageRange: string; const OutputPath: TFileName): boolean;
ยูนิต
HPDFDoc
พารามิเตอร์
| ชื่อ | วัตถุประสงค์ |
|---|---|
PageRange | One-based page range such as 1,3-4; an empty value selects all pages |
OutputPath | Destination PDF file path |
ค่าที่ส่งกลับ
Returns True when at least one selected page is written to the destination file
หมายเหตุการใช้งาน
- 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 ที่เกี่ยวข้อง
- THotPDF
- THPDFPage
- สารบัญ