Initializes a new instance of the class.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfDocument(
	byte[] bytes,
	string password
)
Public Sub New ( 
	bytes As Byte(),
	password As String
)
public:
PdfDocument(
	array<unsigned char>^ bytes, 
	String^ password
)
new : 
        bytes : byte[] * 
        password : string -> PdfDocument

Parameters

bytes
array<Byte>[]()[][]
password
String
The password (user or owner) of the encrypted document.

See Also