PdfMergeAddPdfPages(Byte, String, String) Method
Adds the pages of a PDF from a memory buffer selected by page ranges, in the order of the ranges
Namespace: EvoPdf.NextAssembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
public int AddPdfPages(
byte[] pdfBuffer,
string pageRanges,
string password = null
)
- pdfBuffer Byte
- Byte array containing the PDF data
- pageRanges String
- The 1-based page ranges to add, for example "1-3,5,8-". A range without
an end runs to the last page
- 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