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.DocumentObjectModel
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