## ExtractPages(*string, string, int, int*) {#extractpages_4} Extracts a specified range of pages from a document file and saves the extracted pages to a new file. The output file format is determi......string, [SaveOptions](../../..aspose.words.saving/saveoptions/), int...string outputFileName, SaveOptions saveOptions, int startPageIndex...