Free Support Forum -

Aspose.Words Cloud - Split documents by page range to generate only one document


I am trying to generate a single document but splitted by page range using Aspose.Words Cloud SDKs.

It splits correctly but it generate one document per page. I would like to generate only one.
Here is the code:

var wordsApi = new WordsApi(“XXX”, “XXXX”);

// Upload original document to Cloud Storage
using (var file = File.Open(docName, FileMode.Open))
var request = new SplitDocumentRequest(fileName, “docx”, null, null, null, null,
$"{bookmarkEnd.Name}.docx", startIndex, endIndex, null);
var result = wordsApi.SplitDocument(request);


Yes, currently the Split API method splits each page in the range to a separate document. We have logged an investigation ticket WORDSCLOUD-1270 for your requirements. We will keep you updated about the issue resolution progress within this forum thread.