Questions tagged as 'itextsharp'

3
answers

How to put a text and image as a header in Itextsharp PDF document

Hello, I'm all working with Itextsharp and in the pdf document that I already have, I want to add a title as a heading and next to it an image of the company but it does not work out as I want. This is what I did. but it does not work: Parag...
asked by 05.01.2017 / 20:37
1
answer

How to open a PDF, without saving it ?, using iTextSharp, and C #

I am working with iTextSharp. He used a function to generate a PDF file, and save it, with the following piece of code: //GENERAR ARCHIVO PDF. private void To_pdf() { Document doc = new Document(PageSize.A4.Rotate(), 10, 10, 10...
asked by 04.09.2018 / 20:50
1
answer

Imagenes at ItexSharp

I'm working with Chart in C# where I do the graphing of data and when the user gives click on the report button the report pdf of% is created ItexSharp Up there I'm fine but I'd like to make it a little bigger without...
asked by 24.11.2016 / 20:40
1
answer

convert a saved image to byte in an itextsharp image to display in PDF C #

I need to convert a saved image into a byte in the database (SQL) to be able to print it to a pdf with itextsharp In this code I call the method where the byte of the database is consulted. string imgByte = obtenerByteImagen (codigo, codigo...
asked by 31.01.2018 / 18:54
1
answer

C # - High memory consumption using iTextSharp

I have the following code, the objective is to open a file pdf , calculate the hash of it and keep the file in memory (approximately 20 seconds) to later sign it and save it. What happens, a pdf of 90mb is loaded and when y...
asked by 03.07.2018 / 18:33
1
answer

Itextsharp - Name of PDF depending on variable

I currently have a code with iText to create PDF with a fixed address in this case: PdfWriter writer = PdfWriter.GetInstance(doc, new FileStream("C:/Atreus-Export/presupuesto.pdf", FileMode.Create)); My question is how can I make the PDF na...
asked by 04.09.2018 / 14:34
1
answer

Digital signature of a PDF with C Sharp and itext

In my work they use digital signatures to validate PDF files that are then delivered to those who request them (those who do not belong to the company), so the PDF should show the signature with the data of the signatory. The signature is bei...
asked by 03.03.2017 / 15:49
2
answers

WebControl.Image to Itextsharp.Image

I have the following code that converts a blob from a database to an image url ( WebControls.Image ): OracleCommand cmd2 = new OracleCommand(); cmd2.Connection = conn1; cmd2.CommandText = "select simbo...
asked by 26.04.2017 / 17:08
1
answer

Align content of ItexSharp cells in C #

Good morning, I'm working with C # with the Itextsharp library. Which by pressing a button creates a PDF and inside a small table where it shows the totals. I would like to know how I can align the contents of the cells in a centered way,...
asked by 16.08.2018 / 20:53
1
answer

Center content of a cell itextsharp c #

I am working on a salary settlement format in c #, with itexsharp to generate the pdf file. But I can not control the alignment of the contents of the PdfPTable / PdfPCell cells. I have this code: /*datos del LA LIQUIDACIÓN*/...
asked by 27.07.2017 / 18:39