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
弹出注释's 背景颜色的绿色分量
弹出注释's 背景颜色的蓝色分量
Blue
保留供将来使用,应始终设为 0
Options
返回值
| 0 | 无法将图章注释添加到页面 |
|---|---|
| 1 | Success |