Back to Devexpress

PdfDocumentConverter.SaveDocument(String) Method

officefileapi-devexpress-dot-pdf-dot-pdfdocumentconverter-dot-savedocument-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

PdfDocumentConverter.SaveDocument(String) 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.

Saves the converted PDF document to the specified file.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public void SaveDocument(
    string filePath
)
vb
Public Sub SaveDocument(
    filePath As String
)

Parameters

NameTypeDescription
filePathString

A path to the file.

|

See Also

PdfDocumentConverter Class

PdfDocumentConverter Members

DevExpress.Pdf Namespace