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

Free Support Forum - aspose.com

Set UseObjectColor and White background color disappear

rasterizationOptions.setDrawType(CadDrawTypeMode.UseObjectColor);

because dxf file color is white ,the background is while. can not recognize the color , Compatible with it?

@zhangzh,
yes, if you set UseObjectColor having white background and white entities they will be invisible. We can assist you better if you attach your file here and the code being used.

aspose demo 2.zip (228.3 KB)
check it out, thanks

@zhangzh,
there is some specific for this file. It is in very old format (AC1006) and has no information about layers at all. So, we don’t have a place to get correct color from. At the moment you may export this file only in fixed color (e.g. black) mode, or in color mode combined with black background.

We created also CADJAVA-10567 to process such files in color mode properly in future.

A post was split to a new topic: “one Developer” license question

@zhangzh,
I have split your question about license to proper forums section, please, wait for answer there. Thank you!

I want convert Crispin “xxx.shoe” to “xxx.png”, I test that ,this sdk can not .Is there other sdk can convert .shoe File to .png File ,or conver .shoe File to .dxf File, thanks.

@zhangzh,
unfortunately, we don’t have plans to support this format.