THPDFPage.SetRenditionMediaScreenParameters Method
為後續的頁面繪製輸出設定 rendition 媒體螢幕參數狀態。此設定影響的是之後的頁面繪製、頁面 dictionary 條目、符合性中繼資料或文字輸出,不會改動已寫入的內容
宣告
procedure SetRenditionMediaScreenParameters(Rendition: THPDFDictionaryObject; WindowType: Integer; BackgroundR, BackgroundG, BackgroundB, BackgroundOpacity: Single; MonitorIndex: Integer; BestEffort: Boolean);
單元
HPDFDoc
參數
| 名稱 | 用途 |
|---|---|
Rendition | SetRenditionMediaScreenParameters 使用的輸入 |
WindowType | SetRenditionMediaScreenParameters 使用的輸入 |
BackgroundR | SetRenditionMediaScreenParameters 使用的輸入 |
BackgroundG | SetRenditionMediaScreenParameters 使用的輸入 |
BackgroundB | SetRenditionMediaScreenParameters 使用的輸入 |
BackgroundOpacity | 圖形狀態或 soft-mask 工作流程使用的透明度值 |
MonitorIndex | 用來選擇既有項目、以零為起點的索引或物件索引 |
BestEffort | SetRenditionMediaScreenParameters 使用的輸入 |
傳回值
此成員不傳回值
使用說明
- 在受影響的頁面、資源、欄位或目錄物件最終定案之前,請於頁面繪製工作流程中使用此 API
- 在文件最終定案之前,請保持物件名稱、欄位名稱、資源名稱與傳回的控制代碼穩定不變
- 頁面層級的變更會影響同一頁面上後續的運算子;當不應讓暫時性設定外洩時,請儲存並還原圖形狀態