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.