Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
jmacapagal2CD9H
382 Views, 3 Replies

Export to 3D PDF Sample C# Code from the Documentation is not working.

Good day!

 

I've been working on Exporting to 3d pdf using AnarkCore, however, using the provided sample C# codes from the documentation is not working when I try to use it from a custom addin that I created. Below is the actual error. Do you have any Ideas? 

jmacapagal2CD9H_0-1655799702909.png

jmacapagal2CD9H_1-1655799714334.png

 

 

Thank you.

 

I don't have any experience with this personally, but what I would try is to comment out the "oOptions.Value" lines one at a time until it works, and then you'll know which option setting it doesn't like. Once you know that it is easier to figure out why it's not working.

It does not work if I use the same code from the custom addin that I created but, somehow works from a simple application that I made.

Declare the oDoc as dynamic ex: dynamic oDoc = mApp.ActiveDocument. Answer came from the Dev support