HotPDF Developer Reference
Delphi and C++Builder PDF component help
|
THPDFPage.SetAnnotationBorderStyle
|
Previous Methods THPDFAnnotBorderStyle |
|
Installs or replaces the /BS border style dictionary on an annotation.
Delphi syntax: procedure SetAnnotationBorderStyle(Annot: THPDFDictionaryObject; Width: Single; Style: THPDFAnnotBorderStyle; const DashPattern: array of Single);
C++ syntax: void __fastcall SetAnnotationBorderStyle(THPDFDictionaryObject *Annot, float Width, THPDFAnnotBorderStyle Style, const float *DashPattern, const int DashPattern_Size);
Description SetAnnotationBorderStyle applies Solid, Dashed, Beveled, Inset, or Underline annotation border styles. Width is expressed in PDF user units. DashPattern is used only for absDashed; pass an empty array to use the default [3] dash pattern.
Use LastAnnotation to apply the style to the annotation most recently created by an Add*Annotation method or by selected form-field helpers.
See also: THPDFAnnotBorderStyle, LastAnnotation, AddPopupAnnotationFor, PDF Filter Support |