|
MapGuide API Reference
|
| virtual MgByteReader* MgDrawingService::EnumerateSections | ( | MgResourceIdentifier * | resource | ) | [pure virtual] |
Enumerates only the ePlot sections (sheets) in a DWF.
| virtual MgByteReader EnumerateSections(MgResourceIdentifier resource); |
| virtual MgByteReader EnumerateSections(MgResourceIdentifier resource); |
| virtual MgByteReader EnumerateSections(MgResourceIdentifier resource); |
| resource | (MgResourceIdentifier) Resource identifier specifying the drawing source which has the DWF resource data. |
plotOrder attribute.// Assuming the drawing service has already been initialized $drawing_ID = new MgResourceIdentifier('Library://DrawingService/Floorplan.DrawingSource'); $byteReader = $drawingService->EnumerateSections($drawing_ID);
| MgNullReferenceException | no data could be read from the DWF resource. |
| MgServiceNotAvailableException | if the underlying resource service cannot be obtained to access the drawing in the resource repository. |
| MgXmlParserException | if there are problems parsing the resource content specified by the resource identifier. |
| MgInvalidDwfPackageException | if the DWF specified by the resource identifier is not a DWF of version 6.0 or greater. |
| MgDwfException | if the DWF component encounters errors. |