PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 8:13 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Nov 19, 2014 5:59 pm 
Offline

Joined: Tue Apr 29, 2014 10:21 am
Posts: 27
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


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 20, 2014 8:15 am 
Offline

Joined: Tue Apr 29, 2014 10:21 am
Posts: 27
:)
Ok, I found it by looking at object browser in the sample project.
It is a separate dll.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 399 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group