XFINIUM.PDF.View.Wpf Documentation
Load(String,String) Method



Xfinium.Pdf.View Namespace > PdfVisualDocument Class > Load Method : Load(String,String) Method
Path to PDF file.
Optional password for opening the PDF file.
Loads a visual PDF document from a file.
Syntax
'Declaration
 
Public Overloads Sub Load( _
   ByVal fileName As String, _
   Optional ByVal password As String _
) 
'Usage
 
Dim instance As PdfVisualDocument
Dim fileName As String
Dim password As String
 
instance.Load(fileName, password)
public void Load( 
   string fileName,
   string password
)
public:
void Load( 
   String^ fileName,
   String^ password
) 

Parameters

fileName
Path to PDF file.
password
Optional password for opening the PDF file.
Remarks
When a PdfVisualDocument object is loaded from a stream of a file, the corresponding PDF file is loaded partially to reduce memory usage. This partial load requires all changes to be saved in incremental update mode.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Presentation Foundation 4.x


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

PdfVisualDocument Class
PdfVisualDocument Members
Overload List