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

Free Support Forum - aspose.com

Dxf to PDF Losing Transparency in MText

Hello,

We are using .NET Aspose.CAD version 21.9.0.0 and are having trouble converting text within a Dxf file to PDF if there is transparency.

As you can see, in the attached files, the Dxf file contains some sample text with the transparency set to 80 and it looks fine. When converting to PDF using the attached code, the transparency setting is lost and the text is rendered as fully opaque.

Code - https://www.dropbox.com/s/3dlkku9qiiwc44q/Code-AsposeLibraryTesting.zip?dl=0

Dxf - https://www.dropbox.com/s/3mlruhmdpdj6c64/WaterMarkTest.dxf?dl=0

Dxf Screenshot - https://www.dropbox.com/s/gh071hlivjva523/DxfScreenshot.png?dl=0

Pdf - https://www.dropbox.com/s/cozsoobmgdom00f/AddWatermark_out.pdf?dl=0

Please advise on a solution to this.

Thank you,
Kevin

Note: I did notice that your free online converter also does not preserve the transparency level when converting from Dxf -> Pdf. https://products.aspose.app/cad/conversion/dxf-to-pdf

@kgrems

We need to investigate the issue on our end. A ticket with ID CADNET-8359 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

@mudassir.fayyaz

Thank you. I’ll keep an eye on this thread.
Please let me know if there’s anything else needed from me to help speed this along.

Kevin

@kgrems

We will share updates as soon as they will be shared.