SetMeasureDictGPTSItem
Đơn vị đo lường và tọa độ
Mô tả
Đặt giá trị của một mục trong mảng GPTS của dictionary đo lường
Cú pháp
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);
Tham số
| MeasureDictID | Giá trị do hàm GetImageMeasureDict trả về Chỉ số của mục cần đặt. Mục đầu tiên có chỉ số 1 |
|---|---|
| ItemIndex | |
| NewValue | Giá trị mới của mục |
Giá trị trả về
| 0 | Tham số MeasureDictID không đúng hoặc tham số ItemIndex vượt khoảng hợp lệ |
|---|---|
| 1 | Success |