XFINIUM.PDF Documentation
PdfFileEx Constructor(Stream,String)



Xfinium.Pdf.Core Namespace > PdfFileEx Class > PdfFileEx Constructor : PdfFileEx Constructor(Stream,String)
Stream with the PDF file.
Password for decrypting the PDF file.
Initializes a new PdfFileEx object from a stream.
Syntax
'Declaration
 
Public Function New( _
   ByVal stream As Stream, _
   Optional ByVal password As String _
)
'Usage
 
Dim stream As Stream
Dim password As String
 
Dim instance As New PdfFileEx(stream, password)
public PdfFileEx( 
   Stream stream,
   string password
)
public:
PdfFileEx( 
   Stream^ stream,
   String^ password
)

Parameters

stream
Stream with the PDF file.
password
Password for decrypting the PDF file.
Remarks
The 'stream' after the constructor executed can be disposed as the whole file has been loaded.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfFileEx Class
PdfFileEx Members
Overload List