GetMeasureDictGCSDict

Measurement and coordinate units

Description

Returns the GCS coordinate system dictionary of a measurement dictionary as a CSDictID value.

Syntax

Delphi

Function TPDFlib.GetMeasureDictGCSDict(MeasureDictID: Integer): Integer;

ActiveX

Function PDFlib::GetMeasureDictGCSDict(MeasureDictID As Long) As Long

DLL

int DLGetMeasureDictGCSDict(int InstanceID, int MeasureDictID);

Parameters

MeasureDictIDA value returned from the GetImageMeasureDict function

Return values

0The MeasureDictID parameter was incorrect
Non-zeroA CSDict value

Remarks

When the measurement dictionary has no /GCS entry yet, an empty coordinate system dictionary is created and added so the returned value can be filled in, which marks the document as modified