|
THPDFPage.AddFreeTextAnnotation
|
顶部 上一页 下一页 |
|
Adds new FreeText annotation on the current page.
type THPDFFreeTextAnnotationJust = ( ftLeftJust, ftCenter, ftRightJust );
Delphi 语法: procedure AddFreeTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Quadding: THPDFFreeTextAnnotationJust; Color: TColor = clRed );
C++ 语法: void __fastcall AddFreeTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, THPDFFreeTextAnnotationJust Quadding, Graphics::TColor Color );
说明 使用 AddFreeTextAnnotation,在当前页面上添加新的 FreeText annotation,并指定 text message(Contents)、rectangle area(Rectangle)、justification(Quadding)和 color
Value Meaning ftLeftJust Left justification. ftCenter Center justification. ftRightJust Right justification.
|