MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgProfilingService::ProfileRenderMap ( MgMap map,
MgSelection selection,
MgCoordinate center,
double  scale,
INT32  width,
INT32  height,
MgColor backgroundColor,
CREFSTRING  format,
bool  bKeepSelection 
) [pure virtual]

Profile the process of rendering a MgMap to the requested image format with specified center point and scale.

Parameters:
mapInput map object containing current state of map.
selectionInput map feature selection. Specifies the selected features on the map
centerInput map center point. Specifies the center point for the map
scaleInput map scale. Specifies the scale for the map
widthInput image width. Specifies the image width in pixels
heightInput image height. Specifies the image height in pixels
backgroundColorInput background color. Specifies the map background color
formatInput image format. Defines the format of the resulting image
bKeepSelectionInput true if you want to keep the selection
Returns:
A byte reader containing the profile result