|
THPDFPage.AddTextAnnotation
|
Вгору Попередня Наступна |
|
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 );
Опис Використовуйте AddTextAnnotation, щоб додати нову анотацію Text із заданим текстовим повідомленням ( Contents), прямокутною областю ( Rectangle ), виглядом піктограми ( Name ) і кольором на поточній сторінці. Встановіть Open у true, щоб відкрити анотацію, або Open у false, щоб закрити анотацію
Value Meaning taComment Comment taKey Key taNote Note taHelp Help taNewParagraph NewParagraph taParagraph Paragraph taInsert Insert
|