PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Dec 14, 2017 5:11 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: SVG in MigraDoc
PostPosted: Tue Apr 26, 2016 8:39 pm 
Offline

Joined: Tue Apr 26, 2016 8:24 pm
Posts: 20
Hello I'm new to everything related to PdfSharp or MigraDoc.

I work on a company that generates reports automatically containing mainly titles , simple text , tables and SVG images. My intention is to replace the actual bad implementation with a new better and faster one and as far as I searched MigraDoc seems like a very good candidate (to be mentioned that the reports must come in different formats , HTML, RTF, DOC, but mainly PDF).


After looking on samples and thru the code I couldn't figure out how to add SVG files in MigraDoc.

I even saw posts about this like :
viewtopic.php?f=2&t=3265 <- he uses "DrawSvgElement(gfx, SvgElement); // I draw a Svg Element with XGraphics method." but the code isn't shared

or

viewtopic.php?f=3&t=2612 <- but XImage.FromFile throws error "Additional information: No imaging component suitable to complete this operation was found."

My question is: How can I add a svg file to MigraDoc section or paragraph?


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 3 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:  
cron
Powered by phpBB® Forum Software © phpBB Group