THPDFPage.AddTextAnnotation

THPDFPage

 

Sus  Anterior  Următor

Adds new Text annotation on the current page.

 

type

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

 

Sintaxă Delphi:

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

 

Sintaxă C++:

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

 

Descriere

Folosiți AddTextAnnotation pentru a adăuga o nouă adnotare Text cu mesajul de text specificat ( Contents), zona dreptunghiulară ( Rectangle ), pictograma afișată ( Name ) și culoarea pe pagina curentă. Setați valoarea Open la true pentru a deschide adnotarea sau la false pentru a o închide

 

Valoare                          Semnificație


taComment                Comentariu

taKey                         Cheie

taNote                        Notă

taHelp                        Ajutor

taNewParagraph         Paragraf nou

taParagraph               Paragraf

taInsert                      Inserare

 

 

Text annotation preview