Skip to main content

MapControl.ExportToRtf(Stream) Method

Exports the data displayed by the Map Control to a stream in RTF format.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

public void ExportToRtf(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream object, which the data is exported to.

Remarks

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

Note

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

See Also