THotPDF.DAStoreObjectSource Method
Provides dastore object source 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 DAStoreObjectSource(var State: THPDFDirectFileState; ObjectNumber: Integer; GenNum: Integer; const Body: AnsiString): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
State | Input used by DAStoreObjectSource |
ObjectNumber | Input used by DAStoreObjectSource |
GenNum | Input used by DAStoreObjectSource |
Body | Input used by DAStoreObjectSource |
Return value
Returns an Integer value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised