PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
Migradoc...Adding a Chart - can't find Assembly http://forum.pdfsharp.de/viewtopic.php?f=2&t=2986 |
Page 1 of 1 |
Author: | bizzel74 [ Wed Nov 19, 2014 5:59 pm ] |
Post subject: | Migradoc...Adding a Chart - can't find Assembly |
I am getting this error when it is rendering the document only when I try adding a chart to a section. eg. Dim scaleChart As MigraDoc.DocumentObjectModel.Shapes.Charts.Chart = _section.AddChart Quote: Could not load file or assembly 'PdfSharp.Charting, Version=1.32.2608.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb' or one of its dependencies. The system cannot find the file specified. I am using the same dll as is used in the MigraDoc sample code. I am using these import (using) statements:
Imports MigraDoc.Rendering Imports Microsoft.VisualBasic Imports PdfSharp.Drawing Imports PdfSharp.Pdf Imports PdfSharp.Drawing.Layout Imports System.Reflection Imports System.Linq Imports PdfSharp.Pdf.IO Imports MigraDoc.DocumentObjectModel.Shapes Imports MigraDoc.DocumentObjectModel.Shapes.Charts |
Author: | bizzel74 [ Thu Nov 20, 2014 8:15 am ] |
Post subject: | Re: Migradoc...Adding a Chart - can't find Assembly |
![]() Ok, I found it by looking at object browser in the sample project. It is a separate dll. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |