Completed

Document parts, variable data, document editing

Description

Reports whether the component of a TPDFlibDynamicComponentSession has finished producing content

Syntax

Property TPDFlibDynamicComponentSession.Completed: Boolean;

Value

True after the last committed fragment reported no remaining content, False while committed fragments still report more content and directly after Create, AttachComponent or Reset

Remarks

The flag is written only on a successful commit together with the working clone replacement and the composition counter increment

Once True, ComposeNext and ComposeNextLayout return PDF_DYNAMIC_COMPONENT_COMPLETE immediately without cloning the component, invoking its callback or creating a temporary page

AttachComponent and Reset clear the flag together with the rest of the progress state

See also

TPDFlibDynamicComponentSession, CompositionCount, ComposeNext, ComposeNextLayout, AttachComponent