HotPDF Delphi PDF Component Developer Guide loslab Logo

 

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

 

C++ syntax:

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

 

Description

Use AddTextAnnotation to add new Text annotation specified text message ( Contents), rectangle area ( Rectangle ), icon view ( Name ) and color 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


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

clip0024

Copyright©2007-2025 losLab.com