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 whilst passing the borrowed admission through generated dictionaries, streams and temporary bundles

Each input is a THPDFHeadlessAppearancePlacement record carrying the prebuilt bundle, its target box, independent scale factors, fill and stroke channels, colours and either a uniform or a four-sided stroke width; see THPDFHeadlessAppearancePlacement

The placement array is borrowed for the call, and the caller keeps ownership of every Bundle in it

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 behaviour 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