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

Free Support Forum - aspose.com

PDF Conversion failing to an error when Shape has a Transparency value

Converting the attached Word document to PDF fails to an error:
ShapeTransparency.docx (16.3 KB)

System.NullReferenceException: Object reference not set to an instance of an object.
   at Aspose.Words.Document.☻(♫    ☻)
   at Aspose.Words.Document.☻(Stream ☻, String ♥, SaveOptions ♣)
   at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)
   at Aspose.Words.Document.Save(String fileName, SaveFormat saveFormat)

Test code:

Aspose.Words.License license = new Aspose.Words.License();
license.SetLicense( "Aspose.Total.lic" );

Aspose.Words.Document doc = new Aspose.Words.Document( @"ShapeTransparency.docx" );

doc.Save( @"ShapeTransparency.pdf", Aspose.Words.SaveFormat.Pdf );


We have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-22352. 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.

The issues you have found earlier (filed as WORDSNET-22352) have been fixed in this Aspose.Words for .NET 21.8 update and this Aspose.Words for Java 21.8 update.