Exporting a Layout to PDF through Core?

10-06-2020 12:23 PM
New Contributor III

I know it's possible to modify a layout from a pagx file using Core (CIMLayoutDocument.FromJson seems to work fine for getting at the CIMLayoutDocument and CIMLayout).

However, I'm not sure whether it's possible to export to PDF using a core application. The Layout.Export() method does this in the Desktop environment. Is there an analog to that method in the Core environment?

0 Kudos
1 Reply
Occasional Contributor

Similar issues here. My add-in performs custom export of layouts to PDF. I need to do automated testing (and in the future provide Python support), which requires opening a project, retrieving a layout, and passing it to my software for export. See nunit-projectopenasync.

0 Kudos