THPDFHeadlessOptionalContentState.Create

constructor Create(const Access: THPDFHeadlessRenderAccess; const Context: THPDFOptionalContentContext);

Bind to the current document graph and copy the explicit context; missing or expired Lifetime raises EHPDFOptionalContentStateError, and the initial Event is hoceView

See the state lifetime and concurrency contract