THotPDF.SaveLoadedPageToPng Method
Saves loaded page to png output from the page geometry workflow to a file or stream. Prepare document metadata, pages, resources, signatures and conformance options before invoking the save operation
Declaration
function SaveLoadedPageToPng(const FileName: TFileName; PageIndex, DPI, BandHeightPixels: Integer): Boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FileName | File path used as the source or destination for this operation |
PageIndex | Zero-based index or object index used to select an existing item |
DPI | Input supplied to SaveLoadedPageToPng |
BandHeightPixels | Input supplied to SaveLoadedPageToPng |
Return value
Returns a Boolean value
Usage notes
- Use this API in the page geometry workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries or streams before inspecting nested values