# 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](/faq)
2. »
3. [PDF and PRC Questions](/faq/pdf-and-prc-questions)

Yes, you can set background color, for example

Code:

```

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

```

The result will be gray background.pdf.
