HPDFComposeHeadlessAppearanceWithWorkspace

function HPDFComposeHeadlessAppearanceWithWorkspace(const Placements: THPDFHeadlessAppearancePlacements;
  FirstObjectNumber,MaximumObjects: Integer; const Options: THPDFHeadlessTextAppearanceOptions;
  Workspace: THPDFWorkspaceAdmission): THPDFHeadlessTextAppearance;

Declared in HPDFHeadlessAppearance

Composes the supplied placements with the same geometry and object-identity rules as HPDFComposeHeadlessAppearance while passing the borrowed admission through generated dictionaries, streams and temporary bundles

Borrowed admission

Workspace is a borrowed THPDFWorkspaceAdmission; keep it alive for the entire call and do not reset its cumulative ledger during a failed attempt or retry

Pass nil to retain the original call behavior without a borrowed workspace; the original function signature remains available

Admission occurs before the implemented allocations or generated identities; bounded copy and operation checkpoints can also call Reserve(0)

An exception raised by the owner remains the operation failure; cleanup must remain possible after cancellation and must not replace that exception

The caller owns the returned THPDFHeadlessTextAppearance; completed output streams detach from the generation owner before returning, so reading or freeing the result does not require the owner to remain alive

Writing to returned streams after generation is outside this generation-admission contract; the caller remains responsible for such later mutations

See workspace admission and native runtimes for ledger categories and lifetime boundaries