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 函式傳回。
ValueKey1 = Left 2 = Top 3 = Right 4 = Bottom 5 = Zoom

傳回值

傳回 ValueKey 選取的目標值(1 左,2 上,3 下,4 右,5 縮放百分比),已轉換為目前度量單位與座標原點;不適用於該目標類型的鍵會傳回 0