THPDFPage.AddTextAnnotation

THPDFPage

 

Överst  Föregående  Nästa

Adds new Text annotation on the current page.

 

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

 

Beskrivning

Använd AddTextAnnotation för att lägga till en ny Text-annotering med angivet textmeddelande ( Contents), rektangelområde ( Rectangle ), ikonvy ( Name ) och färg på den aktuella sidan. Sätt Open till true för att öppna annoteringen eller Open till false för att stänga den

 

Value                          Meaning/T titel- eller författarpost

 


taComment                Comment

taKey                         Key

taNote                        Note

taHelp                        Help

taNewParagraph         NewParagraph

taParagraph               Paragraph

taInsert                      Insert

 

 

Text annotation preview