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 применяет Solid, Dashed, Beveled, Inset или Underline annotation border styles. Width выражается в PDF user units. DashPattern используется только для absDashed; пустой массив использует default [3] dash pattern

 

Используйте LastAnnotation, чтобы применить style к annotation, недавно созданной Add*Annotation method или выбранными form-field helpers

 

См. также: THPDFAnnotBorderStyle, LastAnnotation, AddPopupAnnotationFor, PDF Filter Support