LastRetryReason
文档部件、可变数据、文档编辑
描述
报告是哪个分页或流式空间策略推迟了 ComposeNextLayout 最近一次 TPDFlibDynamicComponentSession 尝试
语法
Property TPDFlibDynamicComponentSession.LastRetryReason:
TPDFlibDynamicRetryReason;
值
drrNone | 最近的合成调用未记录重试 |
|---|---|
drrKeepTogether | dppKeepTogether 策略推迟了首个部分可见或不可见的试验 |
drrRequireComplete | dppRequireComplete 策略推迟了未完成组件的试验 |
drrMinimumSlotHeight | 目标槽位短于 MinimumSlotHeight |
drrMinimumFollowingHeight | 最终片段在槽位中留下的空间小于 MinimumFollowingHeight |
说明
该原因在每次 drrNone 调用开始时重置为 ComposeNextLayout,仅在 PDF_DYNAMIC_COMPONENT_RETRY 结果时设置
Reset 和 AttachComponent 也会恢复为 drrNone
流式空间重试对应的已知所需高度通过
LastRequiredSlotHeight 单独报告
另请参阅
KeepTogetherRetryPending, LastRequiredSlotHeight, ComposeNextLayout, ComposeNext, TPDFlibDynamicComponentSession