GetDestName

Chú thích và liên kết điểm nóng, Điểm đến và hành động

Mô tả

Trả về tên của named destination handle hoặc destination array tường minh đang lưu trong name tree của tài liệu

Cú pháp

Delphi

Function TPDFlib.GetDestName(DestID: Integer): WideString;

ActiveX

Function PDFlib::GetDestName(DestID As Long) As String

DLL

const wchar_t * DLGetDestName(int InstanceID, int DestID);

Tham số

DestIDDestination handle returned by APIs such as GetActionDest, GetOpenActionDestination or GetNamedDestination

Giá trị trả về

empty stringHandle không phải named destination và không tìm thấy mục name tree nào khớp
nameTên đích

Ghi chú

Với destination array tường minh, hàm tìm trong name tree của tài liệu và trả về tên destination khớp nếu có

Xem thêm

GetOpenActionDestination, NewNamedDestination, SetOpenActionNamedDestination