Drawings SDK Developer Guide > Working with .dwg Files > Working with Other File Formats > Exporting to Other Formats > Exporting to a PDF File
Exporting to a .pdf File

Export to .pdf File Overview

Drawings SDK supports exporting a .dwg or .dgn file to a Portable Document Format (.pdf) file. The export module is a single support module for the Drawings SDK, and it's available in dynamic and static forms for Windows, Linux, and macOS (x86 and x64 versions). All source is available in the release packages.

The following components are available to use for export to PDF:

  • TD_PdfExport_version.tx – A .tx support module for PDF export, where version is the ODA Platform version number.

    Location of the source files: Kernel/Exports/PdfExport.

    This module should be loaded by the user application to get access to PDF export functionality. The main exporting class is OdPdfExport.

  • TD_PDFToolkit_version.dll – A dynamic linked library implementing operations with the elements of the PDF documents, where version is the Drawings SDK version number.

    Location of the source files: Kernel/Exports/PdfExport/PDFToolkit.

    This module is loaded by the TD_PdfExport_version.tx module.

  • PDF export example applications – Contain sample code for a console command line application, which shows how .dwg files can be exported to PDF format.

    Location of the source files: Drawing/Examples/OdPdfExportEx and Drawing/Examples/win/OdaMfcApp.

    See Export to .pdf File Examples for additional information about the sample application.

Applications for Viewing .pdf Files

For viewing .pdf files you can use different viewing applications, for example:

For more details, see the following topics:

Export to .pdf File Process

Export to .pdf File Parameters and Flags

Export Several Drawings into One .pdf File

Export to .pdf File Examples

See Also

Working with Other File Formats

Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.