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 border styles แบบ Solid, Dashed, Beveled, Inset หรือ Underline ค่า Width อยู่ใน PDF user units ใช้ DashPattern เฉพาะกับ absDashed; ส่ง array ว่างเพื่อใช้ dash pattern เริ่มต้น [3]

 

ใช้ LastAnnotation เพื่อ apply style กับ annotation ล่าสุดที่ method Add*Annotation หรือ form-field helpers บางตัวสร้างขึ้น

 

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