XFINIUM.PDF.View.Win Documentation
Load(Stream,String) Method



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

Parameters

stream
Source stream containing the 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 Forms


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