Questions tagged as 'itextsharp'

1
answer

How to get a processed pdf on the server and display it in a browser window without downloading the file

Currently I have a pdf that has several sheets in a database stored path, and what I do is get a new pdf with a file from the server file and what I need is to show that pdf in a new window without needing to download the file, what I get now is...
asked by 24.01.2018 / 23:43
3
answers

Bold in iTextSharp

I'm working with itextsharp and I've been looking for and testing the subject of bold for several weeks. I've tried with this code, for example: Font verdanaBold = FontFactory.GetFont("Verdana", 7f, Font.BOLD); He tells me that a usin...
asked by 10.09.2018 / 11:13
0
answers

Fit text in PDF format with iTextSharp: ASP.NET and C #

I have the following pdf that I generate with iTextSharp    What I want is to pass the totals under the GridView something like: var para = new Paragraph("Total de piezas" + TxtPiezas.Text); para.Alignment = 2; // se que...
asked by 17.07.2018 / 20:40
0
answers

Report with Itextsharp

Dear, I need your help, I am developing an asp.net webform, c #, MySQL and itextsharp report and I need this report to have a certain format. I retrieve the information through the database and keep it in a datatable , until there is every...
asked by 19.10.2017 / 20:00
1
answer

Error trying to generate a pdf with DataGridView C # using iTextSharp

I have a problem with the code I am writing to generate a pdf with the data from a DataGridView. After I run the DGV with the MySQL query, and I give the generate button, it throws an error that says: "Object reference not set to an instance of...
asked by 06.10.2018 / 18:14
1
answer

I cut the numbers in itextSharp from a barcode

I am printing a barcode with iTextsharp but in the pdf I cut it. I leave the images. I have 18 digits. And here I cut it to 13 digits.     
asked by 27.09.2017 / 15:22
1
answer

iTextSharp does not matter DataGridView to MySQL and C # pdf

I have a Form that generates a DataGridView in which I show fields of a table. The problem I have is that you export the pdf to me in the following way: I do not know what's happening. Here is my code that generates the .pdf: priva...
asked by 23.04.2018 / 01:47
2
answers

Save Gridview as PDF - ItextSharp

protected void ExportarPDF(object sender, EventArgs e) { Response.ContentType = "application/pdf"; Response.AddHeader("content-disposition", "attachment;filename=SearchBooking.pdf"); Response.Cache.SetCacheability...
asked by 07.05.2018 / 23:41
3
answers

How to place an image in an existing pdf with Itexsharp?

I have the following problem, I create a pdf form with Adobe Acrobat, in which you specified the variables and the relations private void FillForm() { string pdfTemplate = @"D:PlantillaFT.pdf"; FormatoGenerado = @"D:FichaTecnic...
asked by 26.08.2017 / 07:44
1
answer

Can an expiration date be set for an html page?

People I have an html with an iframe inside where jquery and a webservice charge a voucher in pdf format, the problem is that the first proof that I want to open does well, while the following continue showing the first. I guess it's because the...
asked by 07.08.2017 / 13:37