PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Dec 13, 2024 4:08 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Nov 18, 2024 2:30 pm 
Offline

Joined: Mon Nov 18, 2024 2:27 pm
Posts: 2
Hello, I'm new here using PDfSharp and MigradDoc. I'm writing a web application with Balzor and Visual Studo. Can I use PDfSharp and MigraDoc to create a document with MigraDoc in the web application and then save it as a PDF? Is there a sample application for this? Best regards Mathias


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 20, 2024 2:55 pm 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1021
Location: CCAA
I haven't tried Balzor yet.

I successfully created PDFs using PDFsharp under Blazor.
The tricky part was sending the PDF to the browser to have it saved on the computer, but found code on Stack Overflow that did the trick. A mix of HTML, JS, and C# was used for that.

Sorry, but I cannot share my code here.

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


Top
 Profile  
Reply with quote  
PostPosted: Sun Nov 24, 2024 10:29 pm 
Offline

Joined: Mon Nov 18, 2024 2:27 pm
Posts: 2
Hi thanks a lot for the hint. I found the example, changed it a little bit and it works.

Thanks


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 43 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