SetDestValue
注释和热点链接
描述
设置指定目标的一个属性
语法
Delphi
Function TPDFlib.SetDestValue(DestID, ValueKey: Integer; NewValue: Double): Integer;
ActiveX
Function PDFlib::SetDestValue(DestID As Long, ValueKey As Long, NewValue As Double) As Long
DLL
int DLSetDestValue(int InstanceID, int DestID, int ValueKey, double NewValue);
参数
| DestID | 要分析的目标 ID。有效目标 ID 由 GetOutlineDest 函数返回 |
|---|---|
| ValueKey | 1=左侧 2=顶部 3=底部 4=右侧 5=缩放 |
| NewValue | 指定目标属性的新值 |
返回值
| 0 | 无法设置目标值。DestID 参数可能无效,或 DestType 参数可能超出范围 |
|---|---|
| 1 | 已成功设置目标类型 |