THPDFPage.AddTextAnnotation

THPDFPage

 

Inizio  Precedente  Successivo

Adds new Text annotation on the current page.

 

type

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

 

Sintassi Delphi:

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

 

Sintassi C++:

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

 

Descrizione

Usare AddTextAnnotation per aggiungere alla pagina corrente una nuova annotazione Text con messaggio di testo specificato (Contents), area rettangolare (Rectangle), vista icona (Name) e colore. Impostare Open su true per aprire l'annotazione o su false per chiuderla

 

Significato del valore


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

Text annotation preview