SetCSDictType

Measurement and coordinate units

Description

Sets the coordinate system type of a coordinate system dictionary.

Syntax

Delphi

function TPDFlib.SetCSDictType(CSDictID, NewDictType: Integer): Integer;

ActiveX

Function PDFlib::SetCSDictType(CSDictID As Long, NewDictType As Long) As Long

DLL

int DLSetCSDictType(int InstanceID, int CSDictID, int NewDictType);

Parameters

CSDictIDA value returned from the GetMeasureDictGCSDict or GetMeasureDictDCSDict functions
NewDictType1 = Geographic coordinate system (GEOGCS) 2 = Projected coordinate system (PROJCS)

Return values

0The CSDictID parameter was incorrect or the NewDictType parameter was out of range
1Success