SetAnnotRect
注释和热点链接
说明
本页介绍 PDFlibPas 中属于“注释和热点链接”主题的 SetAnnotRect。API 名称、参数、类名、文件名和字面量保持原样,以便和 Delphi 库及 DLL 入口点完全对应。
调用函数前请查看语法、参数和返回值。代码块保留原始形式,便于示例直接复制使用。
语法
Delphi
Function TPDFlib.SetAnnotRect(Index: Integer; Left, Top, Width, Height: Double): Integer;
ActiveX
Function PDFlib::SetAnnotRect(Index As Long, Left As Double, Top As Double, Width As Double, Height As Double) As Long
DLL
int DLSetAnnotRect(int InstanceID, int Index, double Left, double Top, double Width, double Height);
参数
| Index | Index 是 SetAnnotRect 的参数。请使用签名中显示的类型,并提供与当前 PDF 文档、所选页面或活动资源一致的值。 |
|---|---|
| Left | Left 定义当前页面单位下的坐标、尺寸或度量值。 |
| Top | Top 定义当前页面单位下的坐标、尺寸或度量值。 |
| Width | Width 定义当前页面单位下的坐标、尺寸或度量值。 |
| Height | Height 定义当前页面单位下的坐标、尺寸或度量值。 |