MapControl.ExportToPdf(String, PdfExportOptions) Method
Exports the control’s data to the specified file in PDF format using the specified options.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
NuGet Package: DevExpress.Win.Map
#Declaration
public void ExportToPdf(
string filePath,
PdfExportOptions options
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A String which specifies the name (including the full path) of the file to which the control is exported. |
options | Pdf |
A Pdf |
#Remarks
This method exports the current map as a *.PDF file to the specified path calling the PrintingSystemBase.ExportToPdf method and using the specified exporting options. After creating a PDF file, the map can be displayed in an appropriate application. For more information, refer to the PrintingSystemBase.ExportToPdf topic.
Note
The Map