MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends

Constructs a grid boundary object.

Parameters:
southwestThe coordinates of the the southwest corner of a rectangular region which represents the grid region. This point MUST indeed be southwest of the coordinate provided by the northeast parameter.
northeastThe coordinates of the the northeast corner of a rectangular region which represents the grid region. This point MUST indeed be northeast of the coordinate provided by the southwest parameter.
Returns:
Returns the grid boundary in the form used by the grid/graticule sub-system.
Exceptions:
MgOutOfMemoryExceptionThrown in the event of heap memory allocation failure.
Remarks:
Externally, grid bundary 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.