GetMeasureDictGPTSItem
测量和坐标单位
描述
从测量字典的 GPTS 数组返回一个值
语法
Delphi
Function TPDFlib.GetMeasureDictGPTSItem(MeasureDictID, ItemIndex: Integer): Double;
ActiveX
Function PDFlib::GetMeasureDictGPTSItem(MeasureDictID As Long, ItemIndex As Long) As Double
DLL
double DLGetMeasureDictGPTSItem(int InstanceID, int MeasureDictID, int ItemIndex);
参数
| MeasureDictID | 由 GetImageMeasureDict 函数返回的值 |
|---|---|
| ItemIndex | 项目的索引。第一个项目的索引为 1 |
返回值
返回请求的 GPTS 数组条目;ItemIndex 从 1 开始。MeasureDictID 不是有效测量字典的引用时返回 0。