PdfDocument Constructor (
Byte
, String)
|
Initializes a new instance of theclass.
Namespace:
Spire.Pdf
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
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