Skip to main content

MapControl.ExportToXls(Stream) Method

Exports the Map Control’s data to a stream in XLS format

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

public void ExportToXls(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object, to which the created document is exported.

Remarks

This method exports the current map as a *.XLS file to an object of the Stream class or its descendants, calling the PrintingSystemBase.ExportToXls method. After creating the XLS file, the map can be displayed in an appropriate application. For more information, refer to the PrintingSystemBase.ExportToXls topic.

Note

The MapControl’s data can only be exported if the XtraPrinting Library is available.

See Also