PdfMergeAddPdfPages(String, String, String) Method

Adds the pages of a PDF from a file selected by page ranges, in the order of the ranges

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public int AddPdfPages(
	string filePath,
	string pageRanges,
	string password = null
)

Parameters

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

Return Value

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

See Also