SetMeasureDictGPTSItem

Measurement and coordinate units

Description

Sets the value of an item in the GPTS array of a measurement dictionary.

Syntax

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);

Parameters

MeasureDictIDA value returned from the GetImageMeasureDict function The index of the item to set. The first item has an index of 1.
ItemIndex
NewValueThe new value of the item.

Return values

0The MeasureDictID parameter was incorrect or the ItemIndex parameter was out of range
1Success