THotPDF.SaveLoadedPageToPngStream Method
Saves loaded page to png stream 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 SaveLoadedPageToPngStream(Stream: TStream; PageIndex, DPI, BandHeightPixels, MaxConcurrency: Integer; MaxWorkingBytes: Int64; out Info: THPDFBandImageExportInfo): Boolean; overload;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Stream | Stream instance used as the source or destination for byte data |
PageIndex | Zero-based index or object index used to select an existing item |
DPI | Input used by SaveLoadedPageToPngStream |
BandHeightPixels | Input used by SaveLoadedPageToPngStream |
MaxConcurrency | Input used by SaveLoadedPageToPngStream |
MaxWorkingBytes | Raw byte payload embedded or validated by this API |
Info | Input used by SaveLoadedPageToPngStream |
Return value
Returns a Boolean value
Usage notes
- Use this API in the page geometry 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
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values