PdfDocument.Open Method (Byte[], String)

Note: This API is now obsolete.

Replaces the contents of this PdfDocument with contents read from specified buffer with PDF data.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[ObsoleteAttribute("This method is obsolete and will be removed in the next version of the library. Please use one of the constructors instead.")]
public void Open(
	byte[] buffer,
	string password
)
VB
<ObsoleteAttribute("This method is obsolete and will be removed in the next version of the library. Please use one of the constructors instead.")>
Public Sub Open ( 
	buffer As Byte(),
	password As String
)

Parameters

buffer
Type: System.Byte[]
The buffer to read PDF data from.
password
Type: System.String
The user or owner password that unlocks the PDF data read from buffer.

See Also