Free Support Forum - aspose.com

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

Hi,
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.UpdatePageLayout();
doc.Save( @"ShapeTransparency.pdf", Aspose.Words.SaveFormat.Pdf );

@M-Files_Support,

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.