Questions tagged as 'itextsharp'

1
answer

How to insert text into an existing PDF? [closed]

I have a contract template ready and with nothing filled. I need to fill in the requested information with what will be typed in some TextBox . How can I do this using iTextSharp?     
asked by 15.10.2017 / 22:01
1
answer

Error trying to generate PDF file with the same name

When trying to generate PDF files, many times I come across the error:    Message: The process can not access the file 'D: .... \ 23381708.pdf' because it is being used by another process. That tells me that the file can not be created be...
asked by 02.12.2014 / 12:39
1
answer

Generate PDF with specific font

I have a report that already works. I need to change the font to "Garamond" (already installed). The references found talk about other more flexible properties, for example, changing the font "per family" tuto 1 , or by removing a watermark (wh...
asked by 27.08.2014 / 20:18
2
answers

Change a detachable PDF field

I'm working on MVC 4 and I've installed iTextSharp to create PDF's, so far so good. But what I'm doing is replicating a PDF that already exists, to fill in the required fields in this my created PDF. Doubt now appears: The PDF I am rep...
asked by 27.02.2014 / 12:17
1
answer

Generate multiple PDFS via Itextsharp

I'm developing an application that bundles PDF's dynamically through the Itextsharp library. It's working and making the download available correctly, but I'd like to generate more documents. And it does not Response.End() , when it mou...
asked by 13.09.2018 / 15:29
1
answer

How to convert image size to A4 format with iTextSharp

Please, I am generating several images in a single PDF and it is running correctly.  What I can not do is leave the A4 size images as they get very big, 80% of the standard size. How can I decrease to fit the A4? the code is below. Thankful iT...
asked by 10.02.2016 / 12:19
1
answer

Error converting HTML to PDF using XMLWorkerHelper

While exporting the HTML file to PDF using iTextSharp and XMLWorker error occurs in some situations saying that certain tag is not closed and searching I found this post My application queries an SQL table from where it returns saved HTML...
asked by 29.05.2017 / 18:49
1
answer

iTextSharp deleting document if it does not have pages

Well, I have an application that at one point generates a PDF with all JPG's, however, instead of choosing a JPG I choose an Excel file it just moves that file. Okay, I'd like that if the document I created with iTextSharp ( Doc.Open()...
asked by 11.06.2015 / 16:50
1
answer

Is there any way to give the columns an automatic width?

I'm putting together a report via ItextSharp and I've read about how to assign specific widths to the PdfPTable columns, however I would like this width to be automatically assigned according to the content of the columns. Any ideas?     
asked by 19.02.2015 / 12:22
1
answer

How to avoid reducing the width of the columns?

I'm using the itextsharp library for reporting in PDF and although I can generate documents with nice layout and assign specific widths through an array of dimensions: Tabela.SetWidths(VetorDeLarguras) However, when the number of columns in...
asked by 19.02.2015 / 20:02