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=Left 2=Top 3=Bottom 4=Right 5=Zoom 指定目的地屬性的新值 |
| NewValue |
傳回值
| 0 | 無法設定目的地值。DestID 參數可能無效,或 DestType 參數超出範圍。 |
|---|---|
| 1 | 目的地類型設定成功 |