MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual INT32 MgCoordinateSystemGridBase::SetGridTickExceptionLevel ( INT32  memoryUseMax) [pure virtual]

Sets the amount of memory at which an exception will be thrown if generating a grid tick collection that would exceed the specified value in memory usage.

Parameters:
memoryUseMax(int) The memory limit in bytes
Returns:
The new memory limit
Remarks:
Each grid object establishes a hard coded value and will throw an exception before generating a grid which, accordinag to the grid object estimates, will cause memory usage to exceed the hard coded value. This method can be used to to modify the threshold for the exception. Such modification remains in effect only within the existence of the modified object. These functions return the previous value and make no changes if the argument value is less than 10MB. The memoryUseMax argument is always in bytes.