THPDFPage.AddTextAnnotation

THPDFPage

Ylös Edellinen Seuraava

Lisää uuden tekstiannotaation nykyiselle sivulle

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

Kuvaus

Käytä metodia AddTextAnnotation lisätäksesi uuden tekstimerkinnän määritetyllä tekstiviestillä ( Contents), suorakulmioalueella ( Rectangle ), kuvakenäkymällä ( Name ) ja värillä nykyiselle sivulle. Aseta Open-arvoksi true avataksesi merkinnän tai aseta Open-arvoksi false sulkeaksesi merkinnän

Value Meaning


taComment Comment

taKey Key

taNote Note

taHelp Help

taNewParagraph NewParagraph

taParagraph Paragraph

taInsert Insert

Text annotation preview