HotPDF Developer Reference
Delphi and C++Builder PDF component help
|
THPDFPage.AddFreeTextAnnotation
|
Top Previous Next |
|
Adds new FreeText annotation on the current page.
type 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 );
Description Use AddFreeTextAnnotation to add new FreeText annotation specified text message ( Contents), rectangle area ( Rectangle ), justification ( Quadding ) and color on the current page.
Value Meaning ftLeftJust Left justification. ftCenter Center justification. ftRightJust Right justification.
|