THPDFPage.AddFreeTextAnnotation

THPDFPage

 

ด้านบน  ก่อนหน้า  ถัดไป

เพิ่มคำอธิบายประกอบ FreeText ใหม่ในหน้าปัจจุบัน

 

ประเภท

THPDFFreeTextAnnotationJust = ( ftLeftJust, ftCenter, ftRightJust );

 

Delphi syntax:

procedure AddFreeTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Quadding: THPDFFreeTextAnnotationJust; Color: TColor = clRed );

 

C++ syntax:

void __fastcall AddFreeTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, THPDFFreeTextAnnotationJust Quadding, Graphics::TColor Color );

 

คำอธิบาย

ใช้ AddFreeTextAnnotation เพื่อเพิ่มคำอธิบายประกอบ FreeText ใหม่ซึ่งระบุข้อความข้อความ (Contents), พื้นที่สี่เหลี่ยมผืนผ้า (Rectangle), การจัดแนว (Quadding) และสีในหน้าปัจจุบัน

 

Value                Meaning


ftLeftJust                    Left justification.

ftCenter                Center justification.

ftRightJust                Right justification.

 

 

Free text annotation preview