Questions tagged as 'itextsharp'

1
answer

Find out length of document with ITextSharp C #

I wanted to know if there is a way to know how high the writing is in a pdf generated by means of class ItextSharp.text.Document ; For example, when generating a pdf document with ItextSharp, I know that I only have to execute the do...
asked by 01.06.2017 / 19:54
1
answer

ItextSharp does not recognize the accents

I am making a report with the itextsharp library and with vb.net. Everything has gone well except that when it comes to printing a word with an accent it does not recognize it and it puts other symbols. Could someone tell me how to solve this li...
asked by 14.12.2016 / 21:28
0
answers

Block the "copy" functionality of a pdf with itextsharp on vb.net

I have a function that receives a pdf uploaded by an input and saves it in a selected path, the idea is that between the process that loads the pdf and saves it in another directory block the option to copy the pdf with itextsharp I would lik...
asked by 21.12.2018 / 21:14
0
answers

filter images to put in different pdf

I am developing a small system which obtains many images from a windows folder and with these photos I must generate a certain amount of PDF's. my doubt is how to make it according to the name of the image, be saved in such and such PDF     
asked by 30.11.2018 / 02:18
1
answer

Write PDF text file line by line

I need to extract text from pdf files (line by line) but it does not write to me in the text file; class Program { static void Main(string[] args) { PdfReader reader = new PdfReader(@"c:\temp\textoPDF.pdf"); int intPag...
asked by 12.11.2018 / 19:58
0
answers

Join PDF files with bookmarks

I have a code in asp.net in C # in which one several PDF documents, each PDF has bookmarks and when I unite the files I do not respect the bookmarks. With the ItextSharp library I manipulate the PDFs to join them, but as I mentioned before, I...
asked by 01.11.2018 / 16:50
2
answers

Use image from the Resources C # folder

I need to use an image (x.png) from the Resources folder of the solution to enter it into a .PDF using the NuGet iTextSharp (v5.5.13). Normally I would load it like this, in case of being an address of the machine. iTextSharp.text.Image tif...
asked by 14.09.2018 / 07:30
0
answers

Itextsharp Add Link to pdfstamper

I have a pdf that I upload through Pdfstamper, when I add the following code to include a link it does not work Chunk chunk = new Chunk("The Best iText Questions on StackOverflow", Fuentelink); chunk.SetAnchor("...
asked by 03.09.2018 / 16:34
0
answers

How can I generate a pdf with the iTextSharp library?

In C # I have a DataGridView with data obtained from a database in MySql and I want to generate the PDF document but it marks an error when creating the body of the PDF in the method GenerarDocumentos private void btn_imprimir_Click(object sen...
asked by 29.08.2018 / 00:29
0
answers

bring a pdf c # from the back in ITextSharp Document to the front in angle 4 and show it?

I tell you that I have a routine in C # that forms a pdf that leaves it in a variable var pdfDoc = new iTextSharp.text.Document(PageSize.Letter); // lineas de código para formar el pdf res.Payload = pdfDoc; pdfDoc.Close();...
asked by 08.06.2018 / 17:44