使用 AddFreeTextAnnotation 在目前頁面加入新的 FreeText annotation,並指定 text message(Contents)、rectangle area(Rectangle)、justification(Quadding)與 color

THPDFPage

 

返回頂部  上一頁  下一頁

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

 

數值意義


ftLeftJust                    Left justification.

ftCenter                Center justification.

ftRightJust                Right justification.

 

 

Free text annotation preview