XFINIUM.PDF Documentation
PdfFile Constructor(Stream)



Xfinium.Pdf.Core Namespace > PdfFile Class > PdfFile Constructor : PdfFile Constructor(Stream)
Stream with the PDF file.
Initializes a new PdfFile object from a stream.
Syntax
'Declaration
 
Public Function New( _
   ByVal stream As Stream _
)
'Usage
 
Dim stream As Stream
 
Dim instance As New PdfFile(stream)
public PdfFile( 
   Stream stream
)
public:
PdfFile( 
   Stream^ stream
)

Parameters

stream
Stream with the PDF file.
Remarks
The PdfFile class is used to extract various objects from the PDF file. The 'stream' must be kept open as long as the PdfFile object is used because the content is read from the stream when the corresponding methods are called.
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

PdfFile Class
PdfFile Members
Overload List