THotPDF.ExtractPagesToFile Method
Provides extract pages to file behaviour for the document creation workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
procedure ExtractPagesToFile(const OutputFile: TFileName; const LogicalPageIndices: array of Integer);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
OutputFile | File path used as the source or destination for this operation |
LogicalPageIndices | Input used by ExtractPagesToFile |
Return value
This member does not return a value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised