Free Support Forum -

Grayscale DWG Rendition with Color logo

Hi Team,
I am looking for tranformation of input DWG file to pdf in grayscale mode along with Colored logo. Is it possible to achieve the same through Aspose.CAD?
If yes, Can you please share the code for same?

Attaching the files here which contains input and expected output file: (1.1 MB)



Can you please check the attached PDF and share if the exported PDF suffice your requirements. This is generated using Aspose.CAD API.

0478-MI20-90DP-1006-001-B.pdf (2.8 MB)

Hi @mudassir.fayyaz,
Thanks for the prompt reply!
I was looking for grayscale output with Colored logo. The shared output contains entire output as colored. Can you please refer the attached pdf in the shared zip file?



In CadRasreizationOptions class, we have a property DrawType that you can use on your end to serve the purpose.

rasterizationOptions.DrawType = CadDrawTypeMode.UseObjectColor;