THPDFPage.SetAnnotationBorderStyle

THPDFPage

 

הקודם  מתודות  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);

 

תיאור

SetAnnotationBorderStyle מחיל סגנונות גבול annotation מסוג Solid, Dashed, Beveled, Inset או Underline. ‏Width מבוטא ב-PDF user units. ‏DashPattern משמש רק עבור absDashed; העבר מערך ריק כדי להשתמש בדפוס dash ברירת המחדל [3]

 

השתמש ב-LastAnnotation כדי להחיל את הסגנון על ה-annotation האחרונה שנוצרה על ידי מתודת Add*Annotation או על ידי form-field helpers נבחרים

 

See also: THPDFAnnotBorderStyle, LastAnnotation, AddPopupAnnotationFor, PDF Filter Support