THPDFPage.SetAnnotationBorderStyle

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;传入空数组会使用默认 [3] dash pattern

 

使用 LastAnnotation 可将样式应用到最近由 Add*Annotation 方法或选定 form-field helpers 创建的 annotation

 

另请参阅: THPDFAnnotBorderStyle, LastAnnotation, AddPopupAnnotationFor, PDF 过滤器支持