THPDFPage.AddTextAnnotation

THPDFPage

 

Topo  Anterior  Próximo

Adds new Text anotação na página atual.

 

type

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

 

Sintaxe Delphi:

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

 

Sintaxe C++:

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

 

Descrição

Utilize AddTextAnnotation para adicionar à página atual uma nova anotação Text com a mensagem de texto especificada (Conteúdo), área de retângulo (Rectangle), visual de ícone (Name) e cor. Defina Open como true para abrir a anotação ou Open como false para fechá-la

 

Value                          Meaning


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

Text annotation preview