THPDFPage.AddTextAnnotation

THPDFPage

 

Top  Previous  Next

Adds new Text annotation on the current page.

 

type

     THPDFTextAnnotationType = ( taComment, taKey, taNote, taHelp, taNewParagraph, taParagraph, taInsert );

 

Delphi syntax:

procedure AddTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Open: boolean; Name: THPDFTextAnnotationType; Colour: TColor = clRed );

 

C++ syntax:

void __fastcall AddTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, bool Open, THPDFTextAnnotationType Name, Graphics::TColor Colour );

 

Description

Use AddTextAnnotation to add new Text annotation specified text message ( Contents), rectangle area ( Rectangle ), icon view ( Name ) and colour on the current page. Set Open value to true for opening the annotation or set Open value to false for closing the annotation.

 

Value                          Meaning/T title or author entry

 

Value                          Meaning


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

Text annotation preview