MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual void MgCoordinateSystem::SetXYBounds ( double  dXMin,
double  dYMin,
double  dXMax,
double  dYMax 
) [pure virtual]

Allows to set the min/max X and Y values in the coordinate system's units that this coordinate system is valid in. This method must only be called on systems that are not protected. When setting these values, the coordinate system API will perform the following actions:

  1. (Re-)enable valid range checking: When converting coordinates, the values are checked to fall in the valid range as specified here
  2. Save the values for later storage: When eventually writing this coordinate system to the dictionary, the values will be written, too.
Parameters:
dXMinThe minimum X value
dYMinThe minimum Y value
dXMaxThe maximum X value
dYMaxThe maximum Y value
Returns:
Nothing