THPDFPage.AddTextAnnotation

THPDFPage

 

Vrh  Prethodno  Sledeće

Dodaje novu Text anotaciju na tekuću stranicu

 

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 );

 

Opis

Koristite AddTextAnnotation da dodate novu Text anotaciju sa zadatom tekst porukom ( Contents), pravougaonim područjem ( Rectangle ), prikazom ikonice ( Name ) i bojom na tekućoj stranici. Podesite Open na true da biste otvorili anotaciju ili na false da biste je zatvorili

 

Value                          Meaning


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

Text annotation preview