|
THPDFPage.AddTextAnnotation
|
Góra Poprzedni Następny |
|
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 );
Opis Użyj AddTextAnnotation, aby dodać nową adnotację Text z określoną wiadomością tekstową ( Contents), obszarem prostokąta ( Rectangle ), widokiem ikony ( Name ) i kolorem na bieżącej stronie. Ustaw Open na true, aby otworzyć adnotację, albo Open na false, aby ją zamknąć
Value Meaning taComment Comment taKey Key taNote Note taHelp Help taNewParagraph NewParagraph taParagraph Paragraph taInsert Insert
|