PdfReaderOpen Method (Stream, String, PdfDocumentOpenMode, PdfPasswordProvider)Terminal Works - PDF Printing.Net Library
Opens an existing PDF document.

Note: Using openmode values Modify or Import removes any existing security settings from the document.

Namespace: PdfEdit.Pdf.IO
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax

public static PdfDocument Open(
	Stream stream,
	string password,
	PdfDocumentOpenMode openmode,
	PdfPasswordProvider passwordProvider
)

Parameters

stream
Type: System.IOStream
password
Type: SystemString
openmode
Type: PdfEdit.Pdf.IOPdfDocumentOpenMode
passwordProvider
Type: PdfEdit.Pdf.IOPdfPasswordProvider

Return Value

Type: PdfDocument
See Also

Reference