We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Save DOC containing List labels and Fields to PDF Format & Prevent ArgumentOutOfRangeException C# .NET API

Hi, the attached Doc file can’t be saved as PDF.
The C# code below fails with ArgumentOutOfRangeException

var doc = new Document(inputFile);
var pageCount = doc.PageCount;
doc.Save(outputFile, new PdfSaveOptions { PageIndex = 0, PageCount = pageCount });

SR-116422 - OutOfRange.zip (37.9 KB)


We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-19691. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Hi, thanks for this information. Is it possible to tell when this is expected to be fixed?


Unfortunately, WORDSNET-19691 is not resolved yet. We have completed the analysis of this issue but currently there is no ETA available. We will inform you via this thread as soon as this issue will be resolved in future or any time frame may be available. We apologize for any inconvenience.