NewChildOutline
书签大纲
描述
在现有父大纲下创建一个新的子大纲,使用与 NewOutline 相同的目标语义
语法
Delphi
Function TPDFlib.NewChildOutline(Parent: Integer; Const Title: WideString; DestPage: Integer; DestPosition: Double): Integer;
参数
| Parent | 父大纲 ID,或者为 0 以创建顶级大纲 |
|---|---|
| Title | 阅读器显示的大纲标题 |
| DestPage | 基于 1 的目标页码 |
| DestPosition | 当前测量系统中的目标位置 |
返回值
| 0 | 父大纲无效或大纲无法创建 |
|---|---|
| Non-zero | 新大纲 ID |