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; Colour: TColor = clRed );

 

C++ syntax:

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

 

Description

Use AddFreeTextAnnotation to add new FreeText annotation specified text message ( Contents), rectangle area ( Rectangle ), justification ( Quadding ) and colour on the current page.  

 

Value                Meaning


ftLeftJust                    Left justification.

ftCenter                Centre justification.

ftRightJust                Right justification.

 

 

Free text annotation preview