THPDFLazyFileStream.Read Method
Provides read behavior for the low-level PDF object workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
function Read(var Buffer; Count: Longint): Longint; override;
Unit
HPDFObjs
Parameters
| Name | Purpose |
|---|---|
Buffer | Input used by Read |
Count | Input used by Read |
Return value
Returns a Longint value
Usage notes
- Use this API in the low-level PDF object 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