MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Constructs a grid boundary object. Externally, grid objects are in viewport coordinates and define the extents of the region within which a grid is to be drawn. Such objects are often simple rectangles, but his is not a requirement.

Parameters:
boundaryThe grid boundary in the form of a MgPolygon with no interior rings.
Returns:
Returns the boundary in the form used by the grid/graticule sub-system.
Exceptions:
MgOutOfMemoryExceptionThrown in the event of heap memory allocation failure.
Remarks:
The boundary argument need not be a rectangle, but is assumed to be closed.