M_PDFiumSharp_PdfDocument__ctor_1 - ArgusMagnus/PDFiumSharp GitHub Wiki
Loads a PdfDocument from memory. Close() must be called in order to free unmanaged resources.
Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0
C#
public PdfDocument(
byte[] data,
int index = 0,
int count = -1,
string password = null
)
- data
- Type: System.Byte[]
Byte array containing the bytes of the PDF document to load. - index (Optional)
- Type: System.Int32
The index of the first byte to be copied from data. - count (Optional)
- Type: System.Int32
The number of bytes to copy from data or a negative value to copy all bytes. - password (Optional)
- Type: System.String