M_PDFiumSharp_PDFium_FPDF_LoadDocument - ArgusMagnus/PDFiumSharp GitHub Wiki

PDFium.FPDF_LoadDocument Method (Byte[], Int32, Int32, String)

Loads a PDF document from memory.

Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0

Syntax

C#

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

Parameters

 

data
Type: System.Byte[]
The data to load the document from.
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

Return Value

Type: FPDF_DOCUMENT

See Also

Reference

PDFium Class
FPDF_LoadDocument Overload
PDFiumSharp Namespace

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