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