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