GetOutlineDest

大綱

描述

取出指定大綱所連結目的地的資訊

語法

Delphi

Function TPDFlib.GetOutlineDest(OutlineID: Integer): Integer;

ActiveX

Function PDFlib::GetOutlineDest(OutlineID As Long) As Long

DLL

int DLGetOutlineDest(int InstanceID, int OutlineID);

參數

OutlineID由 NewOutline 函式傳回的大綱 ID。也可以用 GetOutlineID 函式取得有效的大綱 ID

傳回值

0大綱沒有有效的目的地,或找不到大綱
Non-zero目的地 ID(DestID),可搭配 GetDestPage、GetDestType 與 GetDestValue 函式使用