MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgCoordinateSystemGridBase* MgCoordinateSystemFactory::GenericGrid ( CREFSTRING  sGridCs,
CREFSTRING  sFrameCs,
bool  bSetExceptionsOn 
) [virtual]

Manufactures generic grid object. A generic grid is one which simply draws isolines of one coordinate system (the Grid coordinate system) into the drawing space of another (the frame system).

Parameters:
sGridCsThe coordinate system code name of the grid coordinate system.
sFrameCsThe coordinate system code name of the frame coordinate system.
bSetExceptionsOntrue indicates that exceptions are to be thrown on all exceptional conditions.
Returns:
Returns a disposable pointer to the abstract interface class from which the generic grid object (and all other grid objects) derive. object derive.
Exceptions:
MgOutOfMemoryExceptionThrown on heap memory allocation failure.
Remarks:
Refer to MgCoordinateSystemFactory::CreateFromCode for additional exception information.