GetDestValue
注释和热点链接
描述
返回指定目标属性的值
语法
Delphi
Function TPDFlib.GetDestValue(DestID, ValueKey: Integer): Double;
ActiveX
Function PDFlib::GetDestValue(DestID As Long, ValueKey As Long) As Double
DLL
double DLGetDestValue(int InstanceID, int DestID, int ValueKey);
参数
| DestID | 要分析的目标 ID。有效目标 ID 由 GetOutlineDest 函数返回 |
|---|---|
| ValueKey | 1 = 左侧 2 = 顶部 3 = 右侧 4 = 底部 5 = 缩放 |
返回值
返回 ValueKey 选择的目标值(1 左,2 上,3 下,4 右,5 缩放百分比),已转换为当前度量单位和坐标原点;不适用于该目标类型的键返回 0