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
drrNone | No retry was recorded by the latest compose call |
|---|---|
drrKeepTogether | A dppKeepTogether policy deferred the first partial or non-visible trial |
drrRequireComplete | A dppRequireComplete policy deferred a trial that did not finish the component |
drrMinimumSlotHeight | The destination slot was shorter than MinimumSlotHeight |
drrMinimumFollowingHeight | A 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