THPDFPage.AddTextAnnotation

THPDFPage

 

Topo  Anterior  Seguinte

Adiciona uma nova anotação Text à página atual

 

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

 

Descrição

Adicione AddTextAnnotation para criar uma nova anotação Text com a mensagem de texto especificada ( Contents), área retangular ( Rectangle ), vista do ícone ( Name ) e cor na página atual. Defina o valor Open como true para abrir a anotação ou como false para a fechar

 

Value                          Meaning


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

Text annotation preview