PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Image problem MigraDoc https://forum.pdfsharp.net/viewtopic.php?f=2&t=3037 |
Page 1 of 1 |
Author: | mgbig [ Mon Jan 26, 2015 3:18 pm ] | ||
Post subject: | Image problem MigraDoc | ||
Hello ! I just start with pdfsharp and migradoc. I'm working with VB.NET in Visual Studio 2013. It all went good so far with any text. But when I want to insert pictures I get an error. I enclose a picture. Error Message is in german, sorry. This is the sample code. I used a converter to convert C# to VB.NET mgbig
|
Author: | Thomas Hoevel [ Mon Jan 26, 2015 4:38 pm ] |
Post subject: | Re: Image problem MigraDoc |
Hi! There are several possible solutions:
This could work: Code: Dim bild as MigraDoc.DocumentObjectModel.Shapes.Image = [...] Removing the "using" leads to nicer code though.
|
Author: | mgbig [ Mon Jan 26, 2015 7:17 pm ] |
Post subject: | Re: Image problem MigraDoc |
Hi! That works fine. (with the long code!) Because I am a "Greenhorn" in VB.NET, I have no idea how do remove System.Drawings Thank you so far. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |