THPDFPage.AddNamedDestinationLink Method
方法摘要: THPDFPage.AddNamedDestinationLink Method
声明
procedure AddNamedDestinationLink(Rectangle : TRect; const DestinationName : AnsiString; const Description : AnsiString = '');
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Rectangle | 链接批注的页面矩形 |
DestinationName | 由 THotPDF.RegisterNamedDestination 注册的目标名称 |
说明 | 可访问性说明,写入链接批注的 /Contents |
返回值
该成员不返回值
使用注意事项
- 输出 /Subtype /Link 批注,并在 /A 中写入 /S /GoTo 与字符串 /D 目标名
- DestinationName 不得为空;目标可在同一文档后续调用 RegisterNamedDestination 注册
- 页面级更改会影响同一页面的后续操作符;临时设置不应外泄时,请保存并恢复图形状态