|
THPDFPage.AddTextAnnotation
|
トップへ 前へ 次へ |
|
現在のページに新しいテキスト(Text)注釈を追加します
type THPDFTextAnnotationType = ( taComment, taKey, taNote, taHelp, taNewParagraph, taParagraph, taInsert );
Delphi 構文: procedure AddTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Open: boolean; Name: THPDFTextAnnotationType; Color: TColor = clRed ); procedure AddTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Open: boolean; Name: THPDFTextAnnotationType; Title: AnsiString; Color: TColor = clRed );
C++ 構文: void __fastcall AddTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, bool Open, THPDFTextAnnotationType Name, Graphics::TColor Color ); void __fastcall AddTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, bool Open, THPDFTextAnnotationType Name, AnsiString Title, Graphics::TColor Color );
説明 AddTextAnnotation を使うと、現在のページに新しいテキスト(Text)注釈を追加できます。テキストメッセージ(Contents)、矩形領域(Rectangle)、アイコン表示(Name)と色を指定し、Open を true にすると注釈を開いた状態、false にすると閉じた状態で作成します。Title 付きのオーバーロードは、PDF テキスト注釈の
Value Meaning taComment Comment taKey Key taNote Note taHelp Help taNewParagraph NewParagraph taParagraph Paragraph taInsert Insert
|