THotPDF.DeletePages Method
Provides DeletePages 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
function DeletePages(const PageRange: string): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageRange | Input supplied to DeletePages |
Return value
Returns an Integer value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalogue object is finalised
- Keep object, field and resource names, and returned handles, stable whilst the document is being finalised