MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgRenderingService::RenderMap ( MgMap map,
MgSelection selection,
CREFSTRING  format,
bool  bKeepSelection,
bool  bClip 
) [pure virtual]

Renders the specified MgMap to the requested image format.

Parameters:
mapInput map object containing current state of map.
selectionInput map feature selection. Specifies the selected features on the map
formatInput image format. Defines the format of the resulting image
bKeepSelectionInput true if you want to keep the selection
bClipInput true if you want to clip feature geometry
Returns:
A byte reader containing the rendered image