PdfMergeAddPdfPages(Byte, Int32, Int32, String) Method

Adds a range of pages of a PDF from a memory buffer

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public int AddPdfPages(
	byte[] pdfBuffer,
	int firstPage,
	int lastPage,
	string password = null
)

Parameters

pdfBuffer  Byte
Byte array containing the PDF data
firstPage  Int32
The 1-based number of the first page to add
lastPage  Int32
The 1-based number of the last page to add
password  String  (Optional)
Password if the PDF is password protected, null otherwise

Return Value

Int32
The 1-based number of the first added page in the merged document

See Also