While exporting a drawing from dwg to pdf having white hatched polylines, the hatch color will be inverted to black color. Is there any way to generate pdf without this color inversion?

  1. FAQ
  2. »
  3. PDF and PRC Questions

Yes, you can set background color, for example


PDFExportParams params;
params.setBackground(ODRGB(127, 127, 127));

The result will be gray background.pdf.