SetAnnotationBorderStyle 會套用 Solid、Dashed、Beveled、Inset 或 Underline annotation border styles。Width 以 PDF user units 表示。DashPattern 只用於 absDashed;傳入空 array 可使用預設 [3] dash pattern

THPDFPage

 

上一頁  方法  THPDFAnnotBorderStyle

Installs or replaces the /BS border style dictionary on an annotation.

 

Delphi 語法:

procedure SetAnnotationBorderStyle(Annot: THPDFDictionaryObject; Width: Single; Style: THPDFAnnotBorderStyle; const DashPattern: array of Single);

 

C++ 語法:

void __fastcall SetAnnotationBorderStyle(THPDFDictionaryObject *Annot, float Width, THPDFAnnotBorderStyle Style, const float *DashPattern, const int DashPattern_Size);

 

說明

SetAnnotationBorderStyle 會套用 Solid、Dashed、Beveled、Inset 或 Underline annotation border styles。Width 以 PDF user units 表示。DashPattern 只用於 absDashed;傳入 empty array 可使用預設 [3] dash pattern

 

使用 LastAnnotation 可將 style 套用到最近由 Add*Annotation method 或選定 form-field helpers 建立的 annotation

 

請參閱: THPDFAnnotBorderStyle, LastAnnotation, AddPopupAnnotationFor, PDF 篩選器支援