Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66666

Re: PDFSharp compatibility?

$
0
0

 What I'm trying to accomplish is a little complicated (by my standards) so I'll break it down in to the steps I'm taking:

1. I need to grab all family instances from my drawing;

2. From these family instances, some of them have URLs attached - I then collect those;

3. After I have a List<string> of my URL's, I visit those URL's that have what's known as cut sheets on them;

4. I pull the cut sheet images and store them in to an Image[ ];

5. I then place those images from the array in to a Rectangle, and place the rect on to a PdfPage - these pages are also an array;

6. I then create a PdfDocument by adding the PdfPage[ ] to it;

7. Then users have the option of saving and/or printing the PdfDocument;

 

I'm using the PdfSharp namespace to accomplish this, and there are no problems with the code.  Everything would work fine, except for the fact that every time I click the ribbon button that would execute this code, I get the exception that I've attached.  It tells me it cannot load the file or assembly.  I've looked and verified that the .dll's are installed and in all the correct file paths; I've ensure that the Assembly.cs files are also there.  I have absolutely no idea how to remedy this issue. 

 

If you have any idea what to do, it would be a huge help!!  And let me know if you need more information.


Viewing all articles
Browse latest Browse all 66666

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>