Questions tagged [selectpdf]

75 questions
0
votes
1 answer

SelectPDF.Document.Footer is always null?

Creating a PDF document from the stream of a HTTP request. public class HomeController : Controller { public HomeController() { converter = new HtmlToPdf(); InitializeConverter(); } public void Index() { …
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
0
votes
1 answer

Add page numbering in each page footer using SelectPDF.Net when PdfTextElement is not an option?

I'm using SelectPDF for .NET to convert a HTML document into PDF. I'm required to add page numbering on each page footer following this format: "Page {page_number} of {total_pages}"; That said, PDF is created flawlessly. So, I try to use…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
0
votes
3 answers

Trying to get the javascript errors using selectpdf

Using selectPDF in C# to convert URLs to PDF. It's obvious there are some javascript errors. Is there a way to get the errors when the conversion happens so I can see what's going on?
BigPoppa
  • 1,205
  • 2
  • 13
  • 21
0
votes
1 answer

SelectPdf File Access

I am using SelectPdf to convert an HTML document to PDF. The document has images in it and I use baseUrl in the conversion when calling ConvertHtmlString(). This all works fine when running under Visual Studio / localhost. However, in the production…
user3076750
  • 75
  • 4
  • 12
0
votes
0 answers

How can anchors be created without the protocol and domain?

What is the correct way to do this and have what is generated / used by the browser be relative paths? I need to do this in order to generate PDF's with links that will open files in a folder directory on a user's hard drive. The links must use…
amartin
  • 330
  • 2
  • 4
  • 17
0
votes
1 answer

FIPS reject html to pdf conversion using SelectPdf Html To Pdf Converter for .NET

I can convert HTML to pdf using SelectPDF. When I enable FIPS in my system. It shows one error like Could not create the PdfDocument object. This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms. We can…
Syam Kumar
  • 343
  • 5
  • 16
0
votes
0 answers

SelectPdf component not working on live server

The URL to pdf conversion works and generates a pdf file locally. But when the code is deployed to the server and when I access this functionality through the live site it always displayed 404 error
Anu V
  • 37
  • 2
  • 9
0
votes
1 answer

Filling PDF form using Select.Pdf

I'm trying to fill out a form using Select.Pdf .NET package. Although I've successfully filled a couple of forms, there is a one, which I can't fill. Here is the link - https://www.state.sd.us/eforms/secure/eforms/E1830V2-WCFRI.pdf When I try to set…
Sini4ka
  • 33
  • 7
0
votes
1 answer

Using ajax with selectPDF

I have the following ajax call: $.ajax({ url: 'WebService.asmx/ConvertPDF', data: "{'section':'Ajax html'}", type: 'POST', contentType: 'application/json; charset=utf-8', dataType: 'JSON', …
0
votes
1 answer

Removing Empty Pages in a PDF document using C#

I have a PDF file with more than 500 pages, but it has few empty pages with in the document in a random manner. Is there any possible way to remove these empty pages? The system which generates PDF, uses select PDF library…
BUDDHIKA
  • 306
  • 2
  • 8
  • 23
0
votes
1 answer

How to change text of password message on pdf file

I am using c# SelectPdf library to create a password protected pdf file. Is it possible to change the text the user sees when he is trying to open the file? The default text is something like: "this file is password protected. please provide a…
oshi oshi
  • 69
  • 7
0
votes
1 answer

Error when using SelectPDF on AppHarbor

When using SelectPDF on Appharbor, I get the error Conversion failure. Could not find 'Select.Html.dep' Looking at the SelectPDF docs, I see that the error means the .dep file was not copied to the project. I've removed it from my .gitignore and…
iZ.
  • 4,951
  • 5
  • 23
  • 16
-1
votes
0 answers

Application Fail to Start with Kernelbase.dll error

So I have windows service application using .net framework 4.5.2 installed on a Windows Server 2012 that is up and running. Lately I added an implementation to the project using https://selectpdf.com library and added to the project folder (hosted…
mark02
  • 11
  • 1
  • 7
-1
votes
1 answer

Select.PDF Not Appearing in Rendered PDF

I am using select.pdf to output a PDF file. My process starts by grabbing the text of an HTML file in my visual studio project using this: string strHTML = string.Join(" ", File.ReadAllLines("Template.html", Encoding.UTF8)); Once I have the…
DanielG
  • 1,669
  • 1
  • 12
  • 26
-1
votes
1 answer

html image to pdf (images not showing) - selectpdf

I am creating pdf files from generated html file by using PdfSelect, the problem is that images are not show on the pdf but is generated on the html. Dim converter As New HtmlToPdf() ' set converter options …
1 2 3 4
5