PdfMergeAddPdfPages(String, String, String) Method
Adds the pages of a PDF from a file selected by page ranges, in the order of the ranges
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
public int AddPdfPages(
string filePath,
string pageRanges,
string password = null
)
- filePath String
- Path to the PDF file
- 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