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