Back to Devexpress

PdfDocumentConverter.SaveDocument(Stream) Method

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

latest2.0 KB
Original Source

PdfDocumentConverter.SaveDocument(Stream) Method

Saves the converted PDF document to a stream.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public void SaveDocument(
    Stream stream
)
vb
Public Sub SaveDocument(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

A System.IO.Stream object where the method saves the document.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveDocument(Stream) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

office-file-api-in-web-api-app/CS/Controllers/PdfController.cs#L103

csharp
converter.Convert(format);
converter.SaveDocument(result);
result.Seek(0, SeekOrigin.Begin);

See Also

PdfDocumentConverter Class

PdfDocumentConverter Members

DevExpress.Pdf Namespace