LastRetryReason

Document parts, variable data, document editing

Description

Reports which pagination or flow-space policy deferred the most recent ComposeNextLayout attempt of a TPDFlibDynamicComponentSession

Syntax

Property TPDFlibDynamicComponentSession.LastRetryReason:
  TPDFlibDynamicRetryReason;

Value

drrNoneNo retry was recorded by the latest compose call
drrKeepTogetherA dppKeepTogether policy deferred the first partial or non-visible trial
drrRequireCompleteA dppRequireComplete policy deferred a trial that did not finish the component
drrMinimumSlotHeightThe destination slot was shorter than MinimumSlotHeight
drrMinimumFollowingHeightA final fragment left less than MinimumFollowingHeight in the slot

Remarks

The reason is reset to drrNone at the start of every ComposeNextLayout call and is set only on a PDF_DYNAMIC_COMPONENT_RETRY result

Reset and AttachComponent restore drrNone as well The known required height belonging to a flow-space retry is reported separately through

LastRequiredSlotHeight

See also

KeepTogetherRetryPending, LastRequiredSlotHeight, ComposeNextLayout, ComposeNext, TPDFlibDynamicComponentSession