Questions tagged [html-renderer]

Use this tag for questions about the HTML Renderer family of libraries that allow conversion from HTML to other formats (HTML Renderer for WinForms/for WPF/for Mono/for PDF using PdfSharp).

HTML Renderer is a family of libraries that allow conversion from HTML to other formats. There are:

  • HTML Renderer for WinForms
  • HTML Renderer for WPF
  • HTML Renderer for Mono
  • HTML Renderer for PDF using PdfSharp
  • HTML Renderer Core

Project on GitHub: https://github.com/ArthurHub/HTML-Renderer

38 questions
0
votes
0 answers

Converting HTML to an image using C#

Hi i want to convert HTML to an image using HTMLRenderer. I am able to convert the HTML to an image but the fonts are appearing bold and blurred. It seems the resolution breaks while converting. Bitmap m_Bitmap = new Bitmap(850,700); PointF point =…
user1818042
  • 75
  • 1
  • 11
0
votes
1 answer

How to force a page break in HtmlRenderer.PdfSharp?

I'm using "HTML Renderer for PDF using PDFsharp" HtmlRenderer.PdfSharp (version 1.5.1-beta1). I'm trying to force a page break. But I can't get this to work. What I have now in my html is this:
Vivendi
  • 20,047
  • 25
  • 121
  • 196
0
votes
0 answers

How to support CJK characters using HtmlRenderer.PDFSharp?

With default settings, the HtmlRenderer.PDFSharp would render CJK characters as blank boxes in generated PDF file. What can be done to make them correctly displayed?
captivatedbyUBB
  • 153
  • 2
  • 9
0
votes
1 answer

Table Text Breaks in PDF File Using HTML Renderer

I am working on export functionality using HTML Renderer for PDFsharp and my table text breaks at the end of the page. I have to find solutions like: https://github.com/ArthurHub/HTML-Renderer/pull/41 but they were not helpful. my pdf look: View…
User_2235
  • 39
  • 2
  • 11
0
votes
2 answers

HTML Renderer on Azure

We are using HTML Renderer to convert an HTML file to a PDF file in one of our ASP.NET MVC projects deployed on Azure. The web app generates the HTML page on the fly and converts it to PDF. However this fails on Azure. My search on SO pointed out…
Sampath D
  • 10,494
  • 1
  • 13
  • 8
-1
votes
1 answer

How to show image in PDF with HtmlRenderer?(The image is downloaded automatically when you enter the URL

I want to show pictures in PDF with HtmlRenderer.PdfSharp. I am using this example. https://github.com/ArthurHub/HTML-Renderer I can show this link in…
Mutlu Ozkurt
  • 55
  • 1
  • 8
-1
votes
1 answer

HTML Renderer ignoring colspan

I am having issues using the HTML Renderer properly. It generates the PDF, but for some reason, when I have a colspan of 2, it seems to ignore this. Here is the entire HTML:
Jannik
  • 401
  • 1
  • 5
  • 17
-2
votes
1 answer

Problem loading images into PDF using HtmlRenderer.PdfSharp

This is a bit of a longshot, but maybe someone might have some ideas. For reference - see Images don't display in PDF, a similar question. I'm using the Htmlrenderer.PdfSharp library to create PDF files from HTML content. Everything works perfectly,…
Kiran Ramaswamy
  • 605
  • 1
  • 8
  • 19
1 2
3