THotPDF.SetLoadedFormFieldRotation Method

在所選欄位的每個 widget 上寫入 /MK /R

宣告

procedure SetLoadedFormFieldRotation(FieldIndex, ADegrees: Integer);

使用說明

這個 setter 只變更旋轉中繼資料,不會重新產生 /AP;儲存前若需要重新產生正常外觀,請明確呼叫 EnsureLoadedFieldAppearanceStream

原生重新產生的外觀在 90 度與 270 度時使用交換後的邏輯寬高,隨後套用單位尺度的逆時針矩陣;產生的按鈕 On 與 Off 狀態共用同一套幾何

這個 setter 不更動欄位值與已儲存的 widget 矩形,也不改變 headless 旋轉 API

已載入表單欄位編輯