To export a dwg drawing to a .pdf file, follow the steps below:
- Load the PDF export module.
- Create a PDF export instance.
- Set the PDF export parameters.
- Call the exportPdf() method of the exporter object.
For more details, see the OdPdfExportEx sample application (\Examples\OdPdfExportEx).