NewOutline
書籤大綱
說明
本頁介紹 PDFlibPas 中屬於「書籤大綱」主題的 NewOutline。API 名稱、參數、類別名稱、檔案名稱和字面值保持原樣,以便和 Delphi 函式庫及 DLL 進入點完全對應。
呼叫函式前請查看語法、參數和傳回值。程式碼區塊保留原始形式,便於範例直接複製使用。
語法
Delphi
Function TPDFlib.NewOutline(Parent: Integer; Const Title: WideString; DestPage: Integer; DestPosition: Double): Integer;
ActiveX
Function PDFlib::NewOutline(Parent As Long, Title As String, DestPage As Long, DestPosition As Double) As Long
DLL
int DLNewOutline(int InstanceID, int Parent, const wchar_t * Title, int DestPage, double DestPosition);
參數
| Parent | Parent 是 NewOutline 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
|---|---|
| Title | Title 是 NewOutline 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
| DestPage | DestPage 識別目前 PDF 文件中的頁面或頁面參照。 |
| DestPosition | DestPosition 是 NewOutline 的參數。請使用簽章中顯示的型別,並提供與目前 PDF 文件、所選頁面或作用中資源一致的值。 |
傳回值
| 0 | 此值說明 NewOutline 的呼叫結果。通常非零值表示成功,0 表示操作未完成。 |
|---|---|
| Non-zero | 此值說明 NewOutline 的呼叫結果。通常非零值表示成功,0 表示操作未完成。 |