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 |