The following example demonstrates how to export selected map items to an image.
To do this, handle the MapControl.ExportMapItem event and set the ExportMapItemEventArgs.Cancel property to true if the map item is not selected (the ExportMapItemEventArgs.IsSelected property is set to false).
Then, call the MapControl.ExportToImage method using the map path (where the map image should be stored) and the specified image format ( e.g., .png).