Back to Devexpress

MapControl.ExportToPdf(String, PdfExportOptions) Method

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-dot-exporttopdf-x28-system-dot-string-devexpress-dot-xtraprinting-dot-pdfexportoptions-x29.md

latest1.6 KB
Original Source

MapControl.ExportToPdf(String, PdfExportOptions) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Exports the map data to the specified PDF file using the specified options.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void ExportToPdf(
    string filePath,
    PdfExportOptions options
)
vb
Public Sub ExportToPdf(
    filePath As String,
    options As PdfExportOptions
)

Parameters

NameTypeDescription
filePathString

A string value, specifying the file path.

| | options | PdfExportOptions |

A PdfExportOptions object, specifying export settings.

|

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace