O2S.Components.PDF4NET Documentation
Load(Stream) Method



O2S.Components.PDF4NET Namespace > PDFDocument Class > Load Method : Load(Stream) Method
Stream that contains the PDF file.
Loads a PDF file and returns either a fixed document or a portfolio depending on the PDF file type.
Syntax
'Declaration
 
Public Overloads Shared Function Load( _
   ByVal stream As Stream _
) As PDFDocument
'Usage
 
Dim stream As Stream
Dim value As PDFDocument
 
value = PDFDocument.Load(stream)
public static PDFDocument Load( 
   Stream stream
)
public:
static PDFDocument^ Load( 
   Stream^ stream
) 

Parameters

stream
Stream that contains the PDF file.

Return Value

A PDFFixedDocument object or a O2S.Components.PDF4NET.Portfolios.PDFPortfolio object depending on the PDF file type.
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

PDFDocument Class
PDFDocument Members
Overload List