Questions tagged [nreco]

NReco is a collection of reusable components for .NET platform (.NET Framework and .NET Core)

NReco website

143 questions
1
vote
2 answers

NReco PDF Generator debug JavaScript in source html page

I have an HTML page which I want to convert to pdf. the page rendered in the browser without any problem. but it not rendered correctly when I use Nreco pdf generator. How can I debug javascript in the page which is rendering in Nreco pdf…
Hamed Mahdizadeh
  • 936
  • 1
  • 15
  • 29
1
vote
1 answer

Azure Function crashes with exception ""

I am using NReco HTML to Image Generator for .NET, but when I try to execute this line: var htmlToImageConv = new NReco.ImageGenerator.HtmlToImageConverter(); it crashes with an exception: I stumbled across this post, but I am not sure if it is…
nmrlqa4
  • 659
  • 1
  • 9
  • 32
1
vote
1 answer

nreco pdf genreation error dot net

I am trying to generate pdf using nreco library and i am getting this exception while generating. (exit code: -1073741819) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace…
Nadeem
  • 379
  • 1
  • 13
1
vote
1 answer

Can not find compilation library location for package 'NReco.PdfGenerator'

I am trying to use NRecosite HTML to PDF generator. Whenever it comes to new NReco.PdfGenerator.HtmlToPdfConverter() it throws exception FileNotFoundException: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral,…
maxspan
  • 13,326
  • 15
  • 75
  • 104
1
vote
1 answer

Unable to load c3 charts in pdf

the pdf is not loading c3 charts which are there in views. Tried using --javascript-delay but it does not work. generator.CustomWkHtmlArgs = " --javascript-delay 200000 "; i tried putting a static svg but event that is not rendering Am i missing…
1
vote
0 answers

Layout for NReco.PdfGenerator.HtmlToPdfConverter

I am using NReco.PdfGenerator.HtmlToPdfConverter to convert my html text to a pdf and everything seems fine except one thing: I want to print a line below my page header and it doesn't show it. Have I put it in the wrong place? public byte[]…
Ashkan S
  • 10,464
  • 6
  • 51
  • 80
1
vote
1 answer

Use a global css style for a pdf document with separate header and footer generated with NReco Html-To-Pdf Generator

I'm using NReco HtmlToPdf Generator to generate complex documents, and I need to use repeatable header and footer capabilities on the pdf. Setting the header and footer using ".PageHeaderHtml" and ".PageFooterHtml" properties works, but headers and…
Andrea R.
  • 45
  • 5
1
vote
1 answer

NReco multiple measures at run time

I am using the NReco library to build Pivot Tables. I'm following the examples and I was able to build a simple PvT from a DataSet. Now I want to build a PvT that receives a number of measures that are chosen at run time, but I'm having trouble with…
zriv
  • 19
  • 1
  • 4
1
vote
1 answer

NReco pdf generator Error - libpng warning: iCCP: known incorrect sRGB profile (exit code: -1073741819)

We are using Nrecopdf generator to generate pdf from html .it fails with the below error: libpng warning: iCCP: known incorrect sRGB profile (exit code: -1073741819) i tried using version: 1.1.10.0 and 1.1.14.0, in both the versions getting the same…
Sanjeevi Subramani
  • 501
  • 1
  • 5
  • 16
1
vote
1 answer

html to pdf font-face not working

i am using NReco.PdfGenerator to generate pdf from html. I would like to change the font-family of the pdf. I have a custom font and add it in html and it does not work.