Skip to main content

MapControl.ExportToDocx(Stream, DocxExportOptions) Method

Exports a map to the specified stream in the DOCX format with the specified settings.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v23.2.dll

NuGet Package: DevExpress.Win.Map

Declaration

public void ExportToDocx(
    Stream stream,
    DocxExportOptions options
)

Parameters

Name Type Description
stream Stream

A Stream descendant to which the content should be sent.

options DocxExportOptions

The export settings that are used to export the map to the file.

Remarks

This method overwrites any files present at the specified path that have the same name.

Make sure that your project references the DevExpress.XtraPrinting.23.2 assembly to be capable of using the following methods and export the Map Control:

In addition, the Map Control provides methods you can use to export vector map layers (VectorItemsLayer and InformationLayer) to vector file formats:

See Also