Convert specific pages

GroupDocs.Conversion also provides the feature to convert selected page number. 

Here are the steps to follow: 

Following code snippet shows how to convert first and third pages from the source document:

Converter converter = new Converter("sample.docx");
PdfConvertOptions options = new PdfConvertOptions();
options.setPages(Arrays.asList( 1, 3));
converter.convert("converted.pdf", options);