HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.AddFreeTextAnnotation

THPDFPage

 

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.

 

 

clip0019

Copyright©2007-2025 losLab.com