PdfMergeAddPdfPages(Byte, Int32, Int32, String) Method
Adds a range of pages of a PDF from a memory buffer
Namespace: HiQPdf.NextAssembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 19.0.10
public int AddPdfPages(
byte[] pdfBuffer,
int firstPage,
int lastPage,
string password = null
)
- 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
Int32The 1-based number of the first added page in the merged document