Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfDocumentConverter(Stream, String, Boolean) Constructor

Initializes a new instance of the PdfDocumentConverter class with specified settings.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#Declaration

public PdfDocumentConverter(
    Stream stream,
    string password = null,
    bool leaveOpen = false
)

#Parameters

Name Type Description
stream Stream

A stream with the PDF file to be converted.

#Optional Parameters

Name Type Default Description
password String null

A password to access the encrypted PDF document.

leaveOpen Boolean False

Specifies whether to leave the document open while converted.

See Also