There is often a misunderstanding between general plot settings and specific settings for exporting drawings to .pdf files. This can lead to a misunderstanding of how to implement a feature for exporting a drawing, and we also receive suggestions to add functionality to the PDF export settings when that functionality already exists in the general plot settings.
Sometimes Teigha subscribers ask: How do I export to a .pdf file only a certain part of a drawing instead of the whole drawing? Maybe it is not obvious because there is a default option ZoomToExtents in the PDF Export settings, and the same option is set by default in the PDFExportDialog of the OdaMfcApp sample application.
Teigha includes a PDF export module that can be used to export CAD file formats to high quality PDF. The export module includes a number of options that allow Teigha client applications to fine-tune the contents of the resulting PDF file. This article explains how to configure PDF export to generate PDF/A documents.