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