Questions tagged [abcpdf]

ABCpdf is WebSupergoo's software component for generating and manipulating PDF documents dynamically on Windows based systems, supporting the Microsoft .NET Framework and ASP/COM.

Useful resources on WebSupergoo's site:

342 questions
2
votes
0 answers

WebSupergoo ABCpdf10 PDF Exception Failed to add HTML

We are getting following exception. It is working fine on local. Can anyone provide any suggestion? 9528 19:15:28 ERROR EDComponents > EDPDFGenerator Exception Exception: WebSupergoo.ABCpdf10.Internal.PDFException Message: Failed to add HTML: Page…
Rohit Chopra
  • 477
  • 1
  • 4
  • 11
2
votes
1 answer

Align text to the right using AbcPdf 9

I am using abcpdf 9. Is there a way to align text to the right. At the moment I have the following theDoc.Rect.Width = 100; theDoc.Rect.Height = 21; theDoc.Rect.Position(490, 808); theDoc.FontSize = 10; theDoc.AddText($"Some text"); This will…
TheAlbear
  • 5,507
  • 8
  • 51
  • 84
2
votes
2 answers

Printing landscape html->pdf using abcPDF

I am trying to get a PDF generated by abcPDF from html output to print the first three pages in portrait and then switch the fourth page to landscape. I have been able to get the html to switch into landscape for the fourth page by applying this…
John Mc
  • 21
  • 1
  • 2
2
votes
1 answer

Gecko Engine in ABCPDF not rendering text color

I'm using ABCPDF + Gecko to render some PDFs within an HTML->PDF templating engine I'm writing. I switched to Gecko specifically to be able to render embedded SVG graphics for things like signatures. However, it seems that now all font colors have…
Dave
  • 900
  • 6
  • 22
2
votes
2 answers

ABCPDF Alter image compression when carrying out doc.AddImageUrl

Using ABCPDF, currently generating pdf's with 1mb files. When we alter the pdf in acrobat pro, and simply change the image quality this drops the size to 100K. I have looked at the documentation for ABCPDF however I cannot find a simple example of…
Youeee
  • 383
  • 3
  • 19
2
votes
1 answer

Getting the title, author, etc. of a PDF using ABCpdf

I am using ABCpdf, and simply cannot obtain the title or author of a document programmatically. Cannot seem to find any good examples on WebSupergoo's site! Must be a simple issue. Doc d = new Doc(); d.Read(path); var y = d.GetInfo(d.Root,…
Youeee
  • 383
  • 3
  • 19
2
votes
3 answers

ABCpdf - Add margin-top to each page and keep the footer in a block

I have started to use abcpdf for a c# application. First I get the pdf and then I get a screenshot to convert it in pdf(I do it because I load some charts). I have 2 problems: 1- I can add margin to the top of my html but the problem is when I the…
gon250
  • 3,405
  • 6
  • 44
  • 75
2
votes
2 answers

Is there any way of suppressing ‘Do you want to save changes to xxx.pdf before closing’ dialog using ABCpdf

We are reading the adobe form template using ABCpdf , populating form fields with values retrieved from database and amending them into a single PDF document and sending the document back as File stream in the HTTP response to the users in a ASP.net…
2
votes
1 answer

ABCpdf not rendering images or applying CSS

The problem is that the CSS is not applying and the images are not rendering in the PDF. This only happens on a staging and production environment. Unable to recreate the problem on my development environment. Both are under https, the links to the…
97ldave
  • 5,249
  • 4
  • 25
  • 39
2
votes
1 answer

How to add a TextField if there is already an existing TextField in ABCPDF?

It's fairly straight-forward to add a TextField using ABCPDF: public FormField AddTextField(string inRect, string inName, string inText) { int fieldId = mDoc.AddObject("<>"); …
RichC
  • 7,829
  • 21
  • 85
  • 149
2
votes
1 answer

How to use Gecko engine in ABCPDF v7 Classic ASP

We have just moved an old website to a new hosting company who has ABCPDF version 7 installed on a Windows Server 2012 VPS. Unfortunately the existing code is not working and from my research it is due to version 7 not being compatible with later…
johna
  • 10,540
  • 14
  • 47
  • 72
2
votes
0 answers

ABCpdf with AngularJS

Trying to render pdf pages using ABCpdf within an angularjs application. Since some of my charts are heavy, they take a bit of time to render. ABCpdf tends to generate before my pages have a chance to fully render and result in empty/half rendered…
Maria
  • 123
  • 1
  • 8
2
votes
3 answers

Every now and then, ABCpdf runs out of memory

The project I'm on is using a 3rd party component to build dynamic PDFs in a VB.Net web system called ABCpdf.Net. (not a terrible tool, but not a great one either.) Every now and then, for reasons I can't fathom, the document object throws a…
Electrons_Ahoy
  • 36,743
  • 36
  • 104
  • 127
2
votes
1 answer

ABCpdf (AddImageUrl) not working in IIS 7.5 for localhost

We have been using ABCpdf for years now. In fact we are on version 6.1 still. It has just always worked. But we have recently upgraded to Windows 2008 x64 / IIS 7.5. Our code that converts HTML pages (Invoices) to PDF now does not work. The basics…
Conrad de Wet
  • 477
  • 6
  • 15
2
votes
2 answers

The type initializer for 'WebSupergoo.ABCpdf7.Internal.NDoc' threw an exception

I have installed a software ABCPDF7, which converts a html file to pdf and saves it. I am facing an error: ERROR MESSAGE :The type initializer for 'WebSupergoo.ABCpdf7.Internal.NDoc' threw an exception. ERROR DETAILS : at…
James
  • 2,136
  • 3
  • 23
  • 42