GetDestName

注释和热点链接、目标和动作

描述

返回文档名称树中存储的命名目标句柄名称或显式目标数组

语法

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);

参数

DestID由 GetActionDest、GetOpenActionDestination 或 GetNamedDestination 等 API 返回的目标句柄

返回值

empty string该句柄不是命名目标,也未找到匹配的名称树条目
name目标名称

备注

TraceGraphicsStates - PDF Library for Delphi 参考

另请参阅

GetOpenActionDestination、NewNamedDestination、SetOpenActionNamedDestination