THPDFPage.AddTextAnnotation – metoda

THPDFPage

 

Nahoru  Předchozí  Další

Adds new Text annotation on the current page.

 

type

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

 

Syntaxe Delphi:

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

 

Syntaxe C++:

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

 

Popis

Pomocí AddTextAnnotation přidáte na aktuální stránku novou anotaci Text se zadanou textovou zprávou (Obsah), obdélníkovou oblastí (Rectangle), ikonou (Name) a barvou. Nastavte Open na true pro otevření anotace nebo na false pro zavření anotace

 

Value                          Meaning


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

Text annotation preview