Empty checkbox coming as checked after convert from Word to TIFF

Hi Team,

When we are trying to convert a Word file into TIFF we are seeing that some of the unchecked checkboxes are showing up as checked after converted to TIFF.

Please advise.

@cndtsumesh Could you please attach your problematic input and output documents here for testing? We will check the issue and provide you more information.

Hi @alexey.noskov …please find the input and output files attached.

Thank you
CheckBoxIssue.zip (216.0 KB)

@cndtsumesh Thank you for additional information. Unfortunately, I cannot reproduce the problem on my side using the following simple code:

Document doc = new Document(@"C:\Temp\in.docx");
doc.Save(@"C:\Temp\out.tiff");

out.zip (90.1 KB)

Could you please specify which version of Aspose.Words you use and provide simple code that will allow us to reproduce the problem?

Hi @alexey.noskov we are using version 13.9

@cndtsumesh It is an extremally old version of Aspose.Words, which was released more than 10 year ago. Please try using the latest 25.9 version and let us know whether the problem still persists on your side.

@alexey.noskov we have purchase version 25.6 , will it work in that

@cndtsumesh Yes, 25.6 version should also give correct result. There was a problem with checkbox content controls in old version, but it was resolved long time ago.

Thank you for the help @alexey.noskov

1 Like

Hi @alexey.noskov ,

We upgraded to 25.6 version. We have one issue like below code

ImageSaveOptions options = new ImageSaveOptions(Aspose.Words.SaveFormat.Tiff);
options.PageIndex = 0;
options.PageCount = doc.PageCount;

Here Pageindex and Pagecount are not part of the new 25.6, can you help me how to set the PageIndex and Pagecount in this new version

@cndtsumesh In the newer versions of Aspose.Words you should use ImageSaveOptions.PageSet. In your code you can use

ImageSaveOptions options = new ImageSaveOptions(Aspose.Words.SaveFormat.Tiff);
options.PageSet = PageSet.All;

Or simply omit setting PageSet, by default Aspose.Words renders all pages in the document to Tiff.

Got it thank you.

Also does the Aspose.Total license include the Aspose.Network, not able to find the latest dll for the same and also Aspose.PDF.KIt in version 25.6

@cndtsumesh These produces has been deprecated. Aspose.Network evolved into Aspose.Email. Aspose.PDF.KIt features has been included into Aspose.PDF.

thank you for the quick response. this is noted

1 Like