MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgMappingService::GeneratePlot ( MgMap map,
MgPlotSpecification plotSpec,
MgLayout layout,
MgDwfVersion dwfVersion 
) [pure virtual]

Plot The map to an EPlot DWF using the center and scale from the map. The extents will be computed to fill the space within the page margins. If the layout paramter is null, no adornments will be added to the page.

.NET Syntax
virtual MgByteReader GeneratePlot(MgMap map, MgPlotSpecification plotSpec, MgLayout layout, MgDwfVersion dwfVersion);
Java Syntax
virtual MgByteReader GeneratePlot(MgMap map, MgPlotSpecification plotSpec, MgLayout layout, MgDwfVersion dwfVersion);
PHP Syntax
virtual MgByteReader GeneratePlot(MgMap map, MgPlotSpecification plotSpec, MgLayout layout, MgDwfVersion dwfVersion);
Parameters:
map(MgMap) Map object describing current state of map.
plotSpec(MgPlotSpecification) Plotting specifications for the generated plot.
layout(MgLayout) Layout specifications to use for the generated plot.
dwfVersion(MgDwfVersion) DWF version required by the client. This determines the schema and file versions used to generate the DWFs sent back to the client.
Returns:
Returns an MgByteReader object containing a DWF in ePlot format.
Exceptions:
MgNullArgumentException