THotPDF.SetLoadedAnnotationBorderStyle Method
本參考主題說明 HotPDF 函式庫中公開 API 的行為、參數與使用方式/BS 邊框樣式字典,並移除語意不明的舊式 /Border 項目
宣告
procedure SetLoadedAnnotationBorderStyle(PageIndex, AnnotationIndex: Integer; Width: Single; Style: THPDFAnnotBorderStyle; const DashPattern: array of Single);
參數
PageIndex是零基的已載入頁面索引AnnotationIndex是該頁面上零基的註解索引Width是以 point 為單位的邊框寬度Style選擇實線、虛線、斜角、內凹或底線外觀DashPattern為absDashed提供交替的虛線與間隙長度
使用說明
- 非正數的虛線長度會被忽略
- 虛線樣式若已無正數長度可用,會採用預設模式
[3] - 此編輯只會使受影響頁面的快取 DPI 變體失效,並在增量儲存中保留
- 索引無效時,已載入的文件保持不變
相關 API
SetLoadedAnnotationColor · SetLoadedAnnotationRect · 已載入文件工具組