While working with your documents, you may come across scenarios where you want to split the large documents into smaller ones. You can split the documents into separate documents within the MS Word document or different file formats. Splitting one large document into smaller documents of different file formats is an important aspect in document manipulation tasks. It involves a series of steps that need to be performed for getting the desired results. Aspose.Words Cloud eliminates the need of such complicated tasks and makes it hassle free for you.
Aspose.Words Cloud has provided the simplest API to split a Word document within MS Word documents or other file formats.
Aspose.Words Cloud APIs Swagger UI lets you call this REST API directly from the browser. The description of the important parameters of the API are given below:
|format||string||If the format is specified, the response contains the conversion data. Please see the table below for valid formats.|
|from||int||The start page number for splitting, if it is not specified, splitting starts from the first page of the document.|
|to||int||The last page number for splitting, if it is not specified, splitting ends at the last page of the document.|
|zipOutput||bool||ZipOutput or not.|
The valid formats are:
|format Parameter Value||Format of the returned Page|
|emf||Enhanced Metafile Format|
|jpeg/jpg||Joint Photographic Experts Group Image Format|
|pcl||Printer Command Language Format|
|Portable Document Format|
|png||Portable Networks Graphic Image Format|
|tiff/tif||Tagged Image File Format|
Split all pages from the document into PDF format:
Split pages 2-3 from the document into PDF format:
Split pages 2-3 from the document into JPEG format where the input document is saved in a particular folder, not on the root of the storage:
Split all pages from the document into PDF format and zip files:
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Checkout our GitHub repository for a complete list of Aspose.Words Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.