SetMeasureDictBoundsItem

测量和坐标单位

描述

设置测量字典 Bounds 数组中项目的值

语法

Delphi

Function TPDFlib.SetMeasureDictBoundsItem(MeasureDictID, ItemIndex: Integer; NewValue: Double): Integer;

ActiveX

Function PDFlib::SetMeasureDictBoundsItem(MeasureDictID As Long, ItemIndex As Long, NewValue As Double) As Long

DLL

int DLSetMeasureDictBoundsItem(int InstanceID, int MeasureDictID, int ItemIndex, double NewValue);

参数

MeasureDictID由 GetImageMeasureDict 函数返回的值
ItemIndex要设置的项目索引,第一个项目的索引为 1
NewValue项目的新值

返回值

0MeasureDictID 参数不正确,或 ItemIndex 参数超出范围
1成功