Skip to main content

MapControl.ExportToDocx(String, DocxExportOptions) Method

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.2.dll

Declaration

public void ExportToDocx(
    string filePath,
    DocxExportOptions options
)

Parameters

Name Type Description
filePath String

The file path (includes the file name and extension) where the file should be created.

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.24.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