|
THPDFPage.AddTextAnnotation
|
傳回頂部 上一頁 下一頁 |
|
Adds new Text annotation on the current page.
type THPDFTextAnnotationType = ( taComment, taKey, taNote, taHelp, taNewParagraph, taParagraph, taInsert );
Delphi 語法: procedure AddTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Open: boolean; Name: THPDFTextAnnotationType; Color: TColor = clRed );
C++ 語法: void __fastcall AddTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, bool Open, THPDFTextAnnotationType Name, Graphics::TColor Color );
說明 使用 AddTextAnnotation 在目前頁面加入新的 Text annotation,並指定 text message(Contents)、rectangle area(Rectangle)、icon view(Name)與 color。將 Open value 設為 true 可開啟 annotation,設為 false 可關閉 annotation
數值意義 taComment Comment taKey Key taNote Note taHelp Help taNewParagraph NewParagraph taParagraph Paragraph taInsert Insert
|