SetMeasureDictGPTSItem
测量和坐标单位
描述
设置测量字典 GPTS 数组中某项的值
语法
Delphi
Function TPDFlib.SetMeasureDictGPTSItem(MeasureDictID, ItemIndex: Integer; NewValue: Double): Integer;
ActiveX
Function PDFlib::SetMeasureDictGPTSItem(MeasureDictID As Long, ItemIndex As Long, NewValue As Double) As Long
DLL
int DLSetMeasureDictGPTSItem(int InstanceID, int MeasureDictID, int ItemIndex, double NewValue);
参数
| MeasureDictID | 由 GetImageMeasureDict 函数返回的值 |
|---|---|
| ItemIndex | 要设置的项目索引,第一个项目的索引为 1 |
| NewValue | 项目的新值 |
返回值
| 0 | MeasureDictID 参数不正确,或 ItemIndex 参数超出范围 |
|---|---|
| 1 | 成功 |