Hi! thanks for the tutorial. I have a question, I'm trying to implement the code and I am getting an ArgumentNullExeption on the GenericFontResolver stream variable. I have my own project name in it but I don't know why it is null. Why can this be happening?
It's just like any other PDF file... In fact, I did try printing invoice generated by this example and it worked fine: ua-cam.com/video/gz_0Kb0lclQ/v-deo.html
page-break-before : always; page-break-after : always; not supported in pdfsharp...plz tell me what should i do? I wanted to move the HTML certain code to new pdf page....
Hello therte. Thanks a lot for the video it is really useful. I was wandering if you could know how to export blazor form component with images to pdf. I really appreciate if you could give any help
First i want to thank you for this awesome tutorial. I'm able to generate a blank pdf, but when it comes to use XFont is showing me the error "System.Drawing.Common is not supported on this platform." I'm pretty shure i've done everything you are showing on this tutorial but the error is still there. May you help me? Any advice will be gratefully accepted. Best regards ps. I'm in a net5.0 project with blazor wasm
I don't think it will work on client-side Blazor, unfortunately that is the case for many default libraries in C#. Anything related to System.Drawing or handling image files does not really work.
if you are giving a tutorial you should at least be willing to answer the question for help. many in this comment ask problems while running the program. you didn't answer anything. i even have the same problem. when it comes to XFont ie.(No appropriate font found for family name "Arial" . implement IFontResolver so on....) an other error is you cannot draw on a page that is not owned by pdfdocument object
Finally a PdfSharp tutorial on UA-cam, Thank you! Please more 😇
Please consider making a companion video to this, how to read text using PDFSharp
Arial works well, but the Korean font NanumGothic does not work.. Doesn’t Korean language support it?
Thanks for the nice and helpful tutorial.
I had a question. Is there any way to insert an image as background image to the existing document page?
I've found it useful to create a MS Word doc then convert it to PDF, which can be modified.
How can I enable writing in a language other than English?
Hi! thanks for the tutorial. I have a question, I'm trying to implement the code and I am getting an ArgumentNullExeption on the GenericFontResolver stream variable. I have my own project name in it but I don't know why it is null. Why can this be happening?
can you also explain header, footer, different papersizes etc for PdfSharp ?
Hi @tauriuslitvinavicius. Thanks for this videao. I wanted to know how to display a pdf file on a bootstrap modal view using pdfsharp. Thanks!
many thanks, I hope it had more
Hi!
Is it possible to set superscript using PdfSharp library?
Hi May I know whether I can print for my form as PDF?(including all the label, textbox, graph)
It's just like any other PDF file... In fact, I did try printing invoice generated by this example and it worked fine:
ua-cam.com/video/gz_0Kb0lclQ/v-deo.html
I think I have a decent idea of how to construct the PDf, the piece that I seem to be missing is how to trigger the pdf to be generated.
ua-cam.com/video/C-yMypr_TdY/v-deo.html
You only need to execute that one method and it will be generated
page-break-before : always; page-break-after : always; not supported in pdfsharp...plz tell me what should i do? I wanted to move the HTML certain code to new pdf page....
If you are looking for html to pdf conversion, perhaps you should take a look into one of the paid tools, such as hiqpdf.com
@@tauriuslitvinavicius Thanks alot...
Thank you sooo match!
Hello therte. Thanks a lot for the video it is really useful. I was wandering if you could know how to export blazor form component with images to pdf. I really appreciate if you could give any help
U r Good Broooo♥️
Hi,
Are there any issues involved with using this to create and fill out a form, upon button press, create pdf and send as email?
None that I can think of... Once you export, you get a file, so after that you can do whatever you want with it.
what about PDFSharpCore ?
First i want to thank you for this awesome tutorial.
I'm able to generate a blank pdf, but when it comes to use XFont is showing me the error "System.Drawing.Common is not supported on this platform."
I'm pretty shure i've done everything you are showing on this tutorial but the error is still there.
May you help me?
Any advice will be gratefully accepted.
Best regards
ps. I'm in a net5.0 project with blazor wasm
I don't think it will work on client-side Blazor, unfortunately that is the case for many default libraries in C#. Anything related to System.Drawing or handling image files does not really work.
HTML to pdf with the help of Razor to render stuff is the best
how to do it?
Can I get github repo for it?
source code for videos can be found on patreon
What about ironPDF?
$750 for single developer. I am using itext, syncfusion, and questpdf which are free.
is PdfSharp free to use?
From website: PDFsharp and MigraDoc Foundation are published Open Source and under the MIT License and are free to use
Can you share source code??
he's barely coded anything, it would be quicker for you to just type it yourself...
if you are giving a tutorial you should at least be willing to answer the question for help. many in this comment ask problems while running the program. you didn't answer anything. i even have the same problem. when it comes to XFont ie.(No appropriate font found for family name "Arial" . implement IFontResolver so on....) an other error is you cannot draw on a page that is not owned by pdfdocument object
Did you manage to resolve the issue with font not found? I am facing the same issue..