ProjectionModifier.SetProjection

This page contains reference documentation for the SetProjection function. This function sets the projection.

Prototype

int SetProjection( int Projection )

Parameters

Function parameters are as follows:

Examples

Examples are as follows:

ProjectionModifier editProjectionModifier = new ProjectionModifier;

// Set the projection to Lambert Conformal Conic.

editProjectionModifier.SetProjectionLambertConformalConic();

// Set the projection to Universal Transverse Mercator.

editProjectionModifier.SetProjectionUniversalTransverseMercator();

// Set the projection to Robinson.

editProjectionModifier.SetProjectionRobinson();

// Get Robinson to bring you a scotch.

editProjectionModifier.Robinson.FetchScotch ( Glenlivet );

// Other scotches...

// Laphroaigh
// JohnnyWalkerBlack
// Oban

Working Sample Code

For sample code: