PdfDocument
LoadFromBytes Method (
Byte
, String)
|
Initializes a new instance of the class.
Namespace:
Spire.Pdf
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
System
Byte
The byte array with the file content.
-
password
-
Type:
System
String
The password (user or owner) of the encrypted document.
See Also