XFINIUM.PDF Documentation
Load(String,String) Method



Xfinium.Pdf Namespace > PdfDocument Class > Load Method : Load(String,String) Method
Path to source PDF file
Password for decrypting 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 fileName As String, _
   ByVal password As String _
) As PdfDocument
'Usage
 
Dim fileName As String
Dim password As String
Dim value As PdfDocument
 
value = PdfDocument.Load(fileName, password)
public static PdfDocument Load( 
   string fileName,
   string password
)
public:
static PdfDocument^ Load( 
   String^ fileName,
   String^ password
) 

Parameters

fileName
Path to source PDF file
password
Password for decrypting the PDF file

Return Value

A PdfFixedDocument object or a Xfinium.Pdf.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