CompositionCount
Document parts, variable data, document editing
Description
Reports how many fragments a TPDFlibDynamicComponentSession has committed successfully
Syntax
Property TPDFlibDynamicComponentSession.CompositionCount: Integer;
Value
Number of successful compositions since the session was created or last reset through AttachComponent or Reset
Remarks
The counter increments only after the captured Form XObject has been validated and placed and the working clone has replaced the current snapshot
Rejected attempts, retries and errors leave the counter unchanged
Context.CompositionIndex exposes the one-based number the current fragment receives when it commits, and Placement.CompositionIndex of a successful call reports the incremented value
See also
TPDFlibDynamicComponentSession, Completed, ComposeNext, ComposeNextLayout, AttachComponent