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 |