PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Aug 08, 2022 5:17 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Thu Jan 13, 2022 11:11 am 
Offline

Joined: Thu Jan 13, 2022 11:05 am
Posts: 9
Hi all,
I'm quite new to pdfSharp and MigraDoc and C# at all. Actually I'm a PLC developer, what leads to the fact, that I'll ask kinda stranger questions. It's allowed to laugh at me. :-D

Currently I work with the beginner code I found on the MigraDoc web page. Looks good so far, but when I start the program I will get an SystemNotSupportedException and RenderDocument() is marked.
Does someone have a solution for this behavior?

Best regards
Siccc


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 13, 2022 11:18 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 733
Location: CCAA
Siccc wrote:
Does someone have a solution for this behavior?
Never seen that before. Please provide more information.
http://forum.pdfsharp.net/viewtopic.php?f=2&t=832

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 13, 2022 11:26 am 
Offline

Joined: Thu Jan 13, 2022 11:05 am
Posts: 9
Maybe my screenshot will make things clearer.


Attachments:
Migradoc 2022-01-13 122500.png
Migradoc 2022-01-13 122500.png [ 139.86 KiB | Viewed 1579 times ]
Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 13, 2022 11:44 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 733
Location: CCAA
Are you using a PDFsharp version published by empira? Or a third-party port?

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 13, 2022 11:45 am 
Offline

Joined: Thu Jan 13, 2022 11:05 am
Posts: 9
The Empira version 1.50.5.147


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 13, 2022 12:03 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 733
Location: CCAA
There are three versions:
PDFsharp-MigraDoc-GDI by: PDFsharp-Team
2,070,981 total downloads last updated 04/02/2019 Latest version: 1.50.5147 MigraDoc PdfSharp Pdf Document Generation
MigraDoc Foundation - the Open Source .NET library that easily creates documents based on an object model with paragraphs, tables, styles, etc. and renders them into PDF or RTF. This is the MigraDoc GDI package. See Project Information for details.

PDFsharp-MigraDoc by: PDFsharp-Team
714,643 total downloads last updated 04/02/2019 Latest version: 1.50.5147 MigraDoc PdfSharp Pdf Document Generation
MigraDoc Foundation - the Open Source .NET library that easily creates documents based on an object model with paragraphs, tables, styles, etc. and renders them into PDF or RTF. This is the MigraDoc PDF Core package. See Project Information for details.

PDFsharp-MigraDoc-WPF by: PDFsharp-Team
271,385 total downloads last updated 04/02/2019 Latest version: 1.50.5147 MigraDoc PdfSharp Pdf Document Generation
MigraDoc Foundation - the Open Source .NET library that easily creates documents based on an object model with paragraphs, tables, styles, etc. and renders them into PDF or RTF. This is the MigraDoc WPF package. See Project Information for details.

Have you tried both "PDFsharp-MigraDoc-GDI" and "PDFsharp-MigraDoc-WPF"?

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 13, 2022 12:05 pm 
Offline

Joined: Thu Jan 13, 2022 11:05 am
Posts: 9
I use the second one.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 13, 2022 12:08 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 733
Location: CCAA
Siccc wrote:
I use the second one.
The versions ending in "-GDI" or "-WPF" are fully operational. Try one of those if possible. WPF is newer and probably the better choice.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 13, 2022 12:09 pm 
Offline

Joined: Thu Jan 13, 2022 11:05 am
Posts: 9
Ok, thank you very much. I'll try that.


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 18, 2022 2:50 pm 
Offline

Joined: Thu Jan 13, 2022 11:05 am
Posts: 9
Just to make things clear...
The mentoined error was caused by the lack of another encoding lib and hab nothing to do with MigraDoc/pdfSharp.

MigraDoc's working great so far.
Thank you for supporting.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 56 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