THPDFPage.SetAnnotationBorderStyle

THPDFPage

 

Trước  Phương thức  THPDFAnnotBorderStyle

Cài đặt hoặc thay thế từ điển kiểu viền /BS trên một chú thích

 

Cú pháp Delphi:

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

 

Cú pháp C++:

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

 

Mô tả

SetAnnotationBorderStyle áp dụng các kiểu viền chú thích Solid, Dashed, Beveled, Inset hoặc Underline. Width được biểu diễn theo đơn vị người dùng PDF. DashPattern chỉ dùng cho absDashed; truyền mảng rỗng để dùng mẫu gạch mặc định [3]

 

Hãy dùng LastAnnotation để áp dụng kiểu này cho chú thích được tạo gần nhất bởi một phương thức Add*Annotation hoặc bởi các trợ giúp trường biểu mẫu đã chọn

 

Xem thêm: THPDFAnnotBorderStyle, LastAnnotation, AddPopupAnnotationFor, PDF Filter Support