Convert N consecutive pages

GroupDocs.Conversion provides the feature to convert N consecutive pages. 

Here are the steps to follow:

Following code snippet shows how to convert 3 consecutive pages starting from second page of the source document:

Converter converter = new Converter("sample.docx");
PdfConvertOptions options = new PdfConvertOptions();
options.setPageNumber(2);
options.setPagesCount(2);

converter.convert("converted.pdf", options);