New Post: WinRT-Support in future?
Hi, I'm actually looking for an HTML-Renderer for WinRT. I tried the "HTML Renderer"-Demo and it looks super with my samples. Is there a plan to support WinRT in the future? Because I don't see a good...
View ArticleNew Post: Increase render resolution for HtmlRender.RenderToImage
I used a graphics object, and then set graphics.ScaleTransform( XRes/SCREENRES, YRes/SCREENRES ) before the RenderGdiPlus call. Image was scaled up and looked nice, not magnified. Only issue was...
View ArticleNew Post: Generate image with background problem
nbrege wrote: I sort of got it to work. The background image is showing behind the rendered HTML, but it doesn't fill the entire background. It only fills a small portion of the upper-left area. The...
View ArticleNew Post: Code to handle image data URIs
Could it be possible to use a base64 uri as a background image also ?
View ArticleNew Post: Render to Image with Transparent Backgroun
is it possible to render the image with a transparent background? I have tried to modify the alpha on the background but can not seem to get it to be transparent without creating a hacky process of...
View ArticleNew Post: How to load PNG as `byte[]` to HtmlImageLoadEventArgs callback?
I have a PNG from a database as byte[]. How can I set as a HTML image? I use this for PDF creation and the wiki/documentation is sadly lacking... public void HandleImageLoad(object sender,...
View ArticleNew Post: How to generate PDF with footer and page numbers?
TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdfonly takes a HTML document and lets me set page size and margins. How can I also set a page footer or page numbers from HTML?
View ArticleNew Post: How to load PNG as `byte[]` to HtmlImageLoadEventArgs callback?
For future reference: The trick is to create a GDI image from a MemoryStream of the PNG picture. That can then be used to create a XImage as callback parameter.using(var mem = new...
View ArticleNew Post: TAG HTML inside the is not drawn.
<table> <tr> <td> <span>Text</span> </td> </tr> </table> When I use HTML tag inside the <TD>, TAG is not drawn. I commented on CSS Default the...
View ArticleNew Post: How to have custom controls "with-in" the web page?
Is it possible to have winform controls "embedded" within the pages? Thanks, Kris
View ArticleNew Post: fonts that aren't installed on system
Hi TheRhinoDude, Would this solution to add custom fonts work to render as a PDF? Thanks
View ArticleNew Post: Generate PDF with custom Fonts
Hi, I am really interested in using HTML Renderer to produce PDF files out of my html reports. After searching through the code and exemples, I couldn't find any code sample that shows how could I...
View ArticleNew Post: Barcode Not rendering when use RenderToImage
Hi I am converting an html with a barcode to an bitmap image. The text comes out fine but the barcode does not appear. Any suggestions?
View ArticleNew Post: HtmlRender.RenderToImage crashing
I'm trying to integrate HtmlRenderer with an existing project. I have references to HtmlRenderer and to HtmlRenderer.WinForms. Right now I am producing some very simple HTML, for example: sHtml =...
View ArticleNew Post: How to have custom controls "with-in" the web page?
I ended up doing this by exposing the DOM to get the cords of the element I wanted to put it in and doing it after the control was painted... Don't understand why the DOM not exposed? Kris
View ArticleNew Post: Multiple pages from HTML
I have a number of seperate HTML pages that I would like to convert to one single PDF Document. How can I do that? At the moment I'm creating a seperate PDF for every page, save it to MemoryStream,...
View ArticleNew Post: Azure Websites
Hey guys, I'm getting the same problem whereby our images are showing up black after we migrated a custom site across to Azure. I've noticed that the code is using the GDI and we are on a Standard...
View ArticleNew Post: 2 columns
Hi, Is there a way to get 2 fixed width columns side by side? I've tried float left and right and inline-block but they are not implemented. I've tried a table but the widths of the cells are ignored.
View ArticleNew Post: PdfGenerator.GeneratePdf don't work
Good afternoon, I will discuss my situation ... I use HtmlRenderer and PDFsharp to generate pdf from my application. Specifically use versions: HtmlRenderer v1.5.0.6 PDFsharp v.1.50.3638.0 My problem...
View Article