itext7 Questions

2

I trying to convert from iText5 to iText7. Got the package for iText7 from Nuget.
Alford asked 12/7, 2017 at 14:27

2

Solved

It seems like the default line spacing in iText 7 form fields is 2 or 1.5, but I'd really like to remove the line spacing. Normally, I set line spacing by calling setMultipliedLeading(..) on a Para...
Mcneese asked 6/10, 2016 at 13:22

8

I have several datasheets for products. Each is a separate file. What I want to do is to use iText to generate a summary / recommended set of actions, based on answers to a webform, and then append...
Piapiacenza asked 14/11, 2016 at 13:2

3

Solved

This code below does not work. Table table = new Table(2); table.setBorder(Border.NO_BORDER); I am new to iText 7 and all I wanted is to have my table borderless. Like how to do it?
Mop asked 12/1, 2017 at 8:1

4

Solved

I've added a Text object that start with whitespaces to the Paragraph object, but the whitespace of paragraph is removed in iText7(7.0.4). It looks like left trim. Is this a specification of Para...
Dynel asked 27/10, 2017 at 8:31

3

Solved

in itext 7.1, I am adding an image to a pdf document with following code : Document document = new Document(writerPdf); //make a new document object ImageData imgData = ImageDataFactory.create(im...
Tia asked 29/1, 2018 at 20:31

2

Error returned on return: Unknown PdfException. - - > System.NotSupportedException:Either itext7.bouncy-castle-adapter or itext7. bouncy-castle-fips-adap... On line Var writer = new PdfWriter(st...
Amosamount asked 16/5, 2023 at 7:9

3

OLD TITLE: iTextSharp convert HTML to PDF "The document has no pages." I am using iTextSharp and xmlworker to convert html from a view to PDF in ASP.NET Core 2.1 I tried many code snipp...
Wendell asked 24/7, 2018 at 16:54

1

Scenario is user will send multiple files of combination of both pdf and images (.png, .jpg/jpeg etc.). Files are received as parameter of type: List<IFormFile>
Sunwise asked 19/1, 2023 at 6:47

5

Solved

I am trying to add itext-7 to android, after adding the following in gradle compile 'com.itextpdf:root:7.0.0' I am still not able to find the classes of itext e.g PDFWriter etc. Please let ...
Harrington asked 25/4, 2017 at 10:1

4

Solved

I see there are lot many questions related to the same scenario this one is little different couldn't figure out the solution. I have a in a tabl in a cell. When I give the continous text like "ccc...
Wax asked 31/5, 2019 at 15:22

3

Solved

I am trying to use iText 7.1.1 to convert a TIFF image to PDF file with multiple pages. Thanks for those to get me started with this article Create PDF from TIFF image using iText. However, it is i...
Snappish asked 21/3, 2018 at 19:19

2

I was trying to get the location using javascript and passed the coordinates to apply stamp on the stamp but it does not work properly. Below is the function I used to capture the coordinates of th...
Nudnik asked 14/8, 2018 at 4:25

1

Solved

I'm developing an asp.net mvc project and I'm using an html template to generate an invoice document with dynamic data which I filled up thanks to handlebars. The html resulting is being converted ...
Clothing asked 28/4, 2021 at 15:55

1

Solved

I have created code with iText 7 that is able to digitally sign a given PDF with a X509 certificate that uses an ECDSA key pair. When I open this signed PDF in Acrobat Reader DC, it correctly reads...
Alwin asked 22/4, 2021 at 13:54

2

Solved

I'm trying to create a PDF Document using iText 7 with below code and my PDF documents contents are overlapping in same page when generated.(i.e in Page 1). I see the document.newPage(); met...
Rhine asked 29/11, 2016 at 6:48

4

I cannot find a solution for a very simple question, how can I set a custom color for a text/line/etc. using iText7 in java code? I found this reply for iText5 but in version 7 there is no BaseCol...
Counterspy asked 19/9, 2016 at 6:56

2

Solved

I have a java program in iText 7 that receive JSON data and generate a PDF document (with header and footer) that works fine with data in variable clientData in comment, but when use the variable i...
Foredate asked 15/3, 2020 at 23:4

1

Solved

I've a requirement, where I am generating different pdf' using iText 7.1.11. I am using PdfMerger to merge all pdf's on the fly. I am able to generate pdf successfully at my local system, but the a...
Trencherman asked 21/7, 2020 at 8:31

1

Solved

I'm parsing a PDF file using IText7 in C# that contains Japanese characters like so: public static string ExtractTextFromPDF(string filePath) { var pdfReader = new PdfReader(filePath); var pdfD...
Raila asked 23/6, 2020 at 7:55

1

Solved

I am currently trying to convert HTML to PDF using itext7 and itext7.pdfhtml but have a small problem. I have a fixed footer (.footer) which works well when opened with a browser but when convert...
Bastogne asked 20/8, 2019 at 19:15

1

Solved

I am using iText 7.1.6 to generate the PDF. When I try to run , I get this error document was closed . It is impossible to execute the action. I checked solutions on Stack Overflow for this, but th...
Modiste asked 13/6, 2019 at 6:23

1

Solved

I am using iText 7. I have two PDF files. The source PDF has some content. The destination PDF has header and footer. I have a requirement to add the content from source PDF to destination PDF in t...
Grandsire asked 10/6, 2019 at 7:59

2

Solved

I'm using iText 7, specifically the HtmlConverter.ConvertToDocument method, to convert HTML to PDF. The problem is, I would really rather not create a PDF file on my server, I'd rather do everythin...
Merat asked 6/2, 2019 at 14:50

2

I am converting html to pdf using iText7 with method convertToPdf(). PDF is getting generated properly but Landscape mode is not working. Can some one tell how to get Landscape mode? import com.i...
Copenhaver asked 24/1, 2019 at 13:1

© 2022 - 2024 — McMap. All rights reserved.