Skip to content

PDFVisualDocument.Load Method

Overloads

Name Description
Load(PDFFixedDocument) Loads a visual PDF document from a PDFFixedDocument object.
Load(String,String) Loads a visual PDF document from a file.
Load(Stream,String) Loads a visual PDF document from a stream.

Load(PDFFixedDocument)

Loads a visual PDF document from a PDFFixedDocument object.

C#
public void Load(PDFFixedDocument fixedDocument)

Parameters

fixedDocument PDFFixedDocument

Source PDF document.

Load(String,String)

Loads a visual PDF document from a file.

C#
public void Load(string fileName, string password)

Parameters

fileName String

Path to PDF file.

password String

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.

Load(Stream,String)

Loads a visual PDF document from a stream.

C#
public void Load(Stream stream, string password)

Parameters

stream Stream

Source stream containing the PDF file.

password String

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.