MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgCoordinateSystemGridBase* MgCoordinateSystemFactory::GenericGrid ( MgCoordinateSystem pGridCs,
MgCoordinateSystem pFrameCs,
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:
pGridCsThe grid coordinate system.
pFrameCsThe 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.