ProjectionModifier.SetDatumWGS84

This page contains reference documentation for the SetDatumWGS84 function. This member sets the DATUM parameter to WGS84.

Prototype

int SetDatumWGS84()

Examples

Examples are as follows:

ProjectionModifier editProjectionModifier = new ProjectionModifier;

// Set the projection to use the Bessel spheroid.

editProjectionModifier.SetDatumBessel();

// Set the projection to use the Clarke1866 spheroid.

editProjectionModifier.SetDatumClarke1866();

// Set the projection to use the Clarke1880 spheroid.

editProjectionModifier.SetDatumClarke1880();

// Set the projection to use the GRS1980 spheroid.

editProjectionModifier.SetDatumGRS80();

// Set the projection to use the WGS72 spheroid.

editProjectionModifier.SetDatumWGS72();

// Set the projection to use the WGS84 spheroid.

editProjectionModifier.SetDatumWGS84();

Working Sample Code

For sample code: