Initializes a new instance of the class.

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

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

Parameters

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

See Also