M_PDFiumSharp_PdfDocument__ctor_1 - ArgusMagnus/PDFiumSharp GitHub Wiki

PdfDocument Constructor (Byte[], Int32, Int32, String)

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

Syntax

C#

public PdfDocument(
	byte[] data,
	int index = 0,
	int count = -1,
	string password = null
)

Parameters

 

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

See Also

Reference

PdfDocument Class
PdfDocument Overload
PDFiumSharp Namespace

⚠️ **GitHub.com Fallback** ⚠️