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