AddStampAnnotationFromImage

注釈とホットスポットリンク

説明

選択したページにカスタムスタンプ注釈を追加します。色パラメーターの値は 0~1 で、0 は色の 0%、1 は 100% を示します。色はポップアップの背景色だけに影響し、スタンプ自体には影響しません

構文

Delphi

Function TPDFlib.AddStampAnnotationFromImage(Left, Top, Width, Height: Double; Const FileName: WideString; Const Title, Contents: WideString; Red, Green, Blue: Double; Options: Integer): Integer;

ActiveX

Function PDFlib::AddStampAnnotationFromImage(Left As Double, Top As Double, Width As Double, Height As Double, FileName As String, Title As String, Contents As String, Red As Double, Green As Double, Blue As Double, Options As Long) As Long

DLL

int DLAddStampAnnotationFromImage(int InstanceID, double Left, double Top, double Width, double Height, const wchar_t * FileName, const wchar_t * Title, const wchar_t * Contents, double Red, double Green, double Blue, int Options);

パラメータ

Left

スタンプ注釈左端の水平座標

Top

スタンプ注釈上端の垂直座標

Width

注釈の幅

注釈の高さ

Height

FileName

画像への完全な FilePath

Title

ポップアップ注釈のタイトル

Contents

ポップアップ注釈の内容

Red

ポップアップ注釈'の背景色の赤成分

Green

ポップアップ注釈'の背景色の緑コンポーネント

ポップアップ注釈'の背景色の青コンポーネント

Blue

将来の使用のために予約されています。常に 0 に設定する必要があります

Options

戻り値

0スタンプ注釈をページに追加できなかった
1Success