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