iText Knowledge Base
Search in spaces:
-
Installing the iText license key and license key library for Java and .NET
, which you can check to ensure you are using the correct license type. The producer line is (in the case of iText 7) “iText ® 7
-
Where can I download the license key library?
For iText versions 5.5.12 and earlier, you can download the license key library from
-
I have been using iText 5 or 7 without a commercial license but never open sourced my application. What should I do?
using the iText SDK. We can work with you to help bring you into compliance. It may be possible for us to issue you a back-dated
-
How to use System Font in iTextSharp with VB.net?
Can someone help me with writing the code to use a system font? I'm using Itextsharp to convert text files to PDF documents
-
When is the content flushed to a PDF File by iTextSharp?
in a PDF. It's just a sequence of lines, shapes and glyphs drawn on a page. When you add content to a document using the Add
-
Installing iText 7 pdfOCR for .NET developers
you can get here https://github.com/tesseract-ocr/tessdata_best. Installation Using the Central Repository iText 7 pdfOCR
-
Installing iText 7 pdfOCR for Java developers
https://repo.itextsupport.com/webapp/#/artifacts/browse/tree/General/releases. Install iText 7 Core or Community, you can find the instal
-
Release iText 7.1.10
iText 7.1.10 brings the first quarterly release of 2020 for the iText 7 family, and coincidentally it's on the day that iText
-
Installing iText 7 pdfHTML for .NET developers
you will enjoy using our product and share your experiences with us and the iText community. We will walk you through
-
Installing iText 7 pdfSweep for .NET developers
using our product and share your experiences with us and the iText community. We will walk you through the installation process
-
Installing iText 7 pdfHTML for Java developers
you will enjoy using our product and share your experiences with us and the iText community. We will walk you through
-
Installing iText 7 pdfSweep for Java developers
Install iText 7 Core or Community, you can find the installation guide here. Important remark: in our installation guides we use
-
How to generate and design PDFs with iText or iTextSharp?
. Option 3: use a third party tool to define the template and a third party server that uses iText under the hood to create PDFs
-
Installing iText 7 pdfCalligraph for .NET developers
matches the version of iText 7 Core you have a license for. Download and install the proper license key library, you can find
-
Installing iText 7 pdfXFA for .NET developers
and install the proper license key library, you can find the installation guide here. Install iText 7 Core, you can find
-
Release iText 7.1.11
now have a CLI (Command Line Interface) wrapper around pdfRender, so you can use it outside of a Java only environment. iText
-
Installing iText 7 pdfCalligraph for Java developers
matches the version of iText 7 Core you have a license for. Download and install the proper license key library, you can find
-
Installing iText 7 pdfXFA for Java developers
https://repo.itextsupport.com/releases Install iText 7 Core, you can find the installation guide here. Important remark: in our installat
-
Installing iText 7 pdf2Data for .NET
you install Make sure you have purchased a commercial license for iText 7 Core and pdf2Data if using them for commercial purposes
-
Installing iText 7 pdf2Data for Java
you install Make sure you have purchased a commercial license for iText 7 Core and pdf2Data if using them for commercial
-
Installing iText 7 pdfRender for Java developers
using our product and share your experiences with us and the iText community. We will walk you through the installation process
-
How can I generate a PDF/UA compatible PDF with iText?
We have a number of dynamically generated PDFs on our site that were created using iText 2.1.7. However, we also have a large
-
How to set the zoom level of a PDF using iTextSharp?
I need to set the zoom level to 75% in a PDF file using iTextSharp. I am using following code to set the zoom level. PdfReader
-
Installing iText 7 pdfOptimizer for .NET developers
will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation
-
Installing iText 7 pdfOptimizer for Java developers
. Installation Using the iText Artifactory Server iText 7 pdfOptimizer is available on the iText Artifactory server. Here you can
-
Installing iText 7 pdfOffice for Java developers
will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation
-
Can I create a Reader-enabled PDF using iText?
key, you can only enable documents using Adobe products. Click Can I create a Reader-enabled PDF using iText? if you want
-
Installing iText 7 for .NET
updated and includes all the fixes and improvements introduced since the latest release. If you’re using NuGet you can add the iText
-
Do I need a license for Windows fonts when using iText?
licensing fonts. Do I need to have a license of the fonts which I am using in iText? For example if I am using Arial, one
-
Which PDF filters are used to encode data?
I am very keen to know which PDF filters are used by iTextSharp to encode the data so that it can decode the data properly
-
Installing iText free trial for Java and .NET developers
a commercial license. Introduction To use the iText free trial you need to install a valid trial license and the license key library
-
Before we start: installing iText 7
for iText 7 (see the legal section of our web site https://itextpdf.com/legal). You can import such a license key using
-
How to draw a borderless table in iTextSharp?
anymore, you should use Cell instead. By default, each cell has a border. You can change this default behavior by changing
-
I upgraded to iText 7, how do I use my license?
How to install your new iText license. If you're using iText 7.2 and later, you should have a license key in JSON format
-
How can I set the zoom level of a PDF using iText 7?
A simple iText 7 example showing how to set a specific magnification level for a PDF. You can use setOpenAction to open
-
How to increase the accuracy of measurements in iTextSharp?
I want to resize a pdf to a specific size, but when I use scaling it loses accuracy because a float rounds the value. How can
-
Argument not specified in iTextSharp
. iText and iTextSharp are kept in sync, which means that, using the two rules explained above, a developer won't have any problem
-
Release iText 7.0.0
inspection, non-Latin script support and digital invoicing. iText is currently used by over 5.000 companies around the world
-
How to generate a report with dynamic header in PDF using iText 7?
https://stackoverflow.com/users/3154466/user3154466 I've written a small example in Java which you can easily adapt to C# as iText and iT
-
Before we start: installing iText 7 | .NET
: https://itextpdf.com/content/itext-7-jump-start-tutorial/examples https://itextpdf.com/content/itext-7-jump-start-tutorial/examples Befo
-
Installing iText 7 Community for .NET developers
will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation
-
Installing iText 7 for Java
How to install iText 7 Java version Thank you for your interest in our open-source PDF library, we hope you will enjoy using
-
Which version of the license key library should I use?
) you'll need to use version 3.x.y of the license key library If you're using iText 5.5.12 (or earlier), you'll need to use version 1
-
How to draw vertical gradient in iTextSharp?
I can make a horizontal gradient, but how do I make it vertical? I am trying to draw a vertical gradient at the bottom
-
How much does it cost to upgrade iText 5 to iText 7?
Customers who have a commercial license for iText 5 Core, and who are current support and maintenance subscribers can upgrade
-
pdfCalligraph: Support wrapping at word boundaries for languages which don't use spaces for word separation
which do this include Thai and Khmer, but we will use Thai for the purpose of this example. iText has developed an advanced
-
How to allow a Unicode subscript symbol in a PDF without using setTextRise()?
trying to create PDF files using iText. I have found that Superscript (0,4,5,6,7,8,9) and Subscript (0,1,2,3,4,5,6,7,8,9
-
How to use multiple fonts in a single cell?
be a little smaller than the text input from the windows form. Currently I'm using cells and was wondering if I can use 2
-
Is iText free?
We have a dual licensing business model. You can use the SDK at no cost if you open source the application you are integrating
-
How to use Cyrillic characters in a PDF?
and can be saved using different encodings. An accidental switch from encoding (for instance: by uploading it to a versioning system
-
Digital Signatures Hub
signatures and how you can get started in securing your workflows and user experience right away with real examples using iText. <iframe
-
Part I - Overview and Simple Cases
X509Certificate2Signature which used CryptoAPI private keys attached to a X509Certificate2 instance. This class can easily be ported to i
-
How can I add an image to all pages of my PDF?
I have been trying to add an image to all pages using iTextSharp. The image needs to be OVER all content of every page. I have
-
iText 7: Building Blocks
, or at least very different from what developers were used to in iText 5 or earlier versions. ebook
-
Installing iText 7 Community for Java developers
will enjoy using our product and share your experiences with us and the iText community. We will walk you through the installation
-
How can I use regular and bold in a single String?
. Click How can I use regular and bold in a single String? if you want to see how to answer this question in iText 5. paragraph
-
iText 7 Signing Examples
Signing a PDF with early versions of iText was something akin to rocket science: the code had to do a lot of stuff which
-
How to create a table with 2 rows that can be used as a footer?
")); cell.setBackgroundColor(ColorConstants.LIGHT_GRAY); table.addCell(cell); Then if you are using iText 7 you should write
-
Why can't I embed a font due to licensing restrictions?
a license for Windows fonts when using iText? Just like all software (including iText), fonts are licensed
-
General questions about iText
to a PDF File by iTextSharp? Why can't I compile the iText source code? How to format a String resulting in a two-column display
-
Volume Counter installation guide
dependencies. Alternatively, you can also download the binaries manually and add them to your project. Using NuGet For iText 7.2.x
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 1
This example was written for the article "Using iText 7 and AWS KMS to digitally sign a PDF document
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 4
This example was written for the article "Using iText 7 and AWS KMS to digitally sign a PDF document
-
How to strike through text using iText?
these decisions yourself, you can use the setUnderline() method: Text text1 = new Text("0123456789"); text1.setUnderline(1.5f, -1
-
How to solve an UnsupportedCharsetException when using itext-asian.jar?
KozMinPro-Regular.otf, you don't need the iText-Asian.jar. Just use the font file with an encoding that is supported by that font
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 5
This example was written for the article "Using iText 7 and AWS KMS to digitally sign a PDF document
-
How to delete attachments in PDF using iText?
in the Names dictionary: No embedded files in iText RUPS Click How to delete attachments in PDF using iText? if you want to see how
-
How to flatten a XFA PDF Form using iTextSharp?
into PDF syntax. This can be done using XFA Worker https://itextpdf.com/product/xfa_worker, which is s a separate product
-
How to use an image as list symbol?
I know that SetListSymbol (from the ITextSharp library) expects a string as a parameter, but is it possible to use an image
-
How to create an uncompressed PDF file?
During development testing, I'd prefer to create uncompressed, non-binary PDF files with iTextSharp so that I can check
-
If iText is free why do I have to pay for it?
(including iText developers) and the ability for us to legally license usage of the code commercially and offer the full benefit
-
What is the difference between AGPL and commercial license?
AGPL is a copyleft license. Copyleft gives every person who receives a copy of a work permission to reproduce, adapt or distribute the
-
Release iText 7.1.0
changes. These are focused in a few areas of iText functionality and thus will only impact a select number of use cases. Read more
-
How to set the page size to Envelope size with Landscape orientation?
I create a PDF document using iTextSharp and this code: Document pdfDoc = new Document(PageSize.A4.Rotate(), 10f, 10f, 100f
-
How to create a link to launch an external program?
I am using iTextSharp to create PDF files. Can I use iTextSharp to create a link in pdf that will allow me to launch a program
-
Getting started
text using iText? How to set the page size to Envelope size with Landscape orientation? How can I generate a PDF/UA compatible PDF
-
How can I create a Reader enabled PDF with a signature field that can be signed in Adobe Reader
I've read that I need to Reader enable my document, but I can't find how to do this using iText. Using iText, I've
-
Part IV - Appearances
the signers have different roles. The iText signing API does allow creating such a presentation. You have the choice of using one
-
Support for a symbol element in SVG
to both the iText 7 Core library and version 3.0.2 of the pdfHTML add-on a <symbol> element is used to define graphical template
-
How to only read text from a constant location on PDF pages?
a problem using iTextSharp when reading data from PDF File. What I want to achieve is to read only specific part of PDF page (I
-
Which languages are supported in pdfHTML?
, but that doesn't mean you can use iText for free in any circumstance. You can only use iText for free if you obey the rules
-
How to change the icon of a push button field?
to replace the icon in a button field. This can be done in iText 7 using this code snippet: PdfDocument pdfDoc = new PdfDocument(new
-
Font examples
How can I use regular and bold in a single String? How can I load a font from /WEB-INF/resources/fonts/foobar.ttf? Why do I
-
How to use the font Verdana in PdfStamper?
file with iText PDF. The original file uses Verdana, which isn't an option in the class Basefont. Here is the function to create
-
How to load a PDF from a stream and add a file attachment?
to create in memory and never will be in file system. How can I do this with iText? I'm using a MS SQL Report Server web service
-
Release iText Core 7.2.1
years there is still so much interest in improving the iText library. You can also expect other changes such as a number of bug
-
Part III - PKCS#11
or presentation scenarios. This emulated device can be used without issues for signing with iText, e.g. initializing a Pkcs11Signature
-
Part II - Proprietary APIs and Custom Providers
, for example, provides a Java security provider to access their HSMs. Using this provider one can sign PDFs as follows: String config
-
How to introduce multiple PdfPageEventHelper instances?
I have to generate a large amount of different types of documents using the iTextSharp library that all have things in common
-
Interactive forms
Reader Can I create a Reader-enabled PDF using iText? How to format a field as a currency? How to create a pushbuttonfield
-
How to fill out a PDF file programmatically? (Dynamic XFA)
I have a dynamic XFA Form that I can fill out manually using Adobe Acrobat on my computer. Using iTextSharp I can read what
-
Chapter 3: Using ILeafElement implementations
, as data source. See figure 3.1. Figure 3.1: A simple CSV file that will be used as data source As you can see, this CSV file could
-
What is the size limit of pdf file?
I am using iTextSharp in a web application to generate PDF files. These PDF files contain .tiff images taken from a folder
-
How can I read Roman page numbers?
page number) with iText, but I don't know which properties (labels or annotations) I should use. Posted on StackOverflow on Mar
-
How can I add a new AcroForm field to a PDF?
I have used iText to fill data into existing AcroForm fields in a PDF. I am now looking for a solution to add new AcroForm
-
How to use a Digital Signing Service (DSS) such as GlobalSign, with iText 7
and provider of Identity Services. In this tutorial we will demonstrate how to use the GlobalSign API and iText 7 Core to sign a PDF
-
Which image types are supported by iText?
. TIFFs will be examined by iText. Depending on the TIFFs parameters, iText can decide to use /CCITTFaxDecode, /FlateDecode
-
How to read text from a specific position?
I have a problem using iTextSharp when reading data from PDF File. What I want to achieve is to read only specific part of PDF
-
Why can't I set the font of a Phrase?
); Paragraph p = new Paragraph().add(redText); doc.add(p); pdfDoc.close(); } I used Courier font, but you can set any font you
-
How to encrypt PDF using a certificate?
We need to encrypt a PDF with a certificate. I've found something using iText some months ago, but I cannot find it any more
-
Release iText Core 7.2.0
change in this release of iText 7 is the new Unified License Mechanism, where we can have independent licenses for iText 7 Core
-
Can I generate a PDF from a URL instead of from a file on disk?
You can generate a PDF from any HTML InputStream. In most of the examples, we have used a FileOutputStream, but in chapter 4
-
Chapter 6: Using fonts in pdfHTML
that Helvetica is the default font used by iText when no font is specified (chapter 2), and we know that pdfHTML
-
pdfHTML: Using emojis in iText
codepoint: U+1F603 For us this is very convenient because it means we can use escape sequences in our programming language of choice
-
How to change the text color of an AcroForm field?
LifeCycle. I am able to fill the fields using iTextSharp but when I change the text color for a field it does not change. I
-
How to fill XFA form using iText without breaking usage rights?
breaking the signature you should use the following code in iText 7: protected void manipulatePdf(String src, String dest) throws
-
What is the difference between iText, JasperReports and Adobe LC?
will). iText is a library that can be used by developers to enhance their web and other applications with PDF functionality: create PDF
-
How to create and apply redactions?
annotation. That's scratching the surface. You can use iText to create any type of annotation you want, because the PdfAnnotation class
-
How to solve an UnsupportedCharsetException when using itext-asian.jar
https://stackoverflow.com/questions/25836370/how-to-use-itext-asian-library-in-eclipseby Han Kun https://stackoverflow.com/users/4040263/
-
How can I log the number of documents / bytes I've processed?
().setCounter(new SystemOutCounter()); We can now use ordinary iText code without having to worry about counting bytes
-
Use cases
not, a paper invoice is used in this context, and that invoice can be forged to get a higher loan. Wouldn't it make more sense
-
How can I crop the pages of an existing PDF document?
mediaBox = page.getMediaBox(); In many cases, cropbox will be null in which case you can safely ignore it and use the mediabox
-
Chapter 2: Adding content to a Canvas or a Document
page. If you want iText to create a page of another size, you can use the constructor that accepts a PageSize object
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 3
This example was written for the article "Using iText 7 and AWS KMS to digitally sign a PDF document
-
How to add an image watermark to a PDF file?
relative to page using iText?” In Java if you use iText 7 you need something like this (use the same methods in C#): Rectangle
-
How can I add titles of chapters in ColumnText?
like this: Option 1 If this is the case, you are using the wrong terminology, as what you see in the Bookmarks panel can
-
Migration guide from iText 5 to iText 7
to rendering HTML to PDF (which in iText 5 was possible using XMLWorker). XMLWorker, which was originally intended to convert
-
How to close a PDF file to recreate it? (File in use problem)
are trying to do something that is impossible (and that is not related or limited to you using iText). Note When working on an iText
-
Why do I get an "System.IO.FileLoadException: Could not load file or assembly" error?
this? This is probably because you have an strong-named assembly which has not been redirected. iText 7 has add-ons which can
-
How to nest tables without extending the inner table?
table to the bottom? I am using iTextSharp in a .NET project to generate a PDF file. I have a PdfPTable with two cells in one row
-
How to define the page size based on the content?
(); And then we can use received tableHeightTotal in creating a new document and setting zero margins to our document: Document doc2 = new
-
Chapter 1: Hello HTML to PDF
load the iText license file. This is an XML file containing a license key for using iText. You might not need this license key
-
How do I get an object if I have its indirect reference?
I would like to analyze the individual radio buttons. I am using iTextSharp to analyze a form enabled PDF. I know how
-
How do I insert a hyperlink to another page in an existing PDF?
on that page. You can use the similar methods in iTextSharp. Click this link if you want to see how to answer this question
-
How to rename named destinations in existing PDF files?
documents. I have used iTextSharp to extract a list of named destinations. Is it possible to iTextSharp to rename those destinations
-
How to define multiple actions for a PushbuttonField?
How do I keep a page redirect or how do I set it in code? In a PDF, I can set up a button to: Submit the FDF data to my
-
How to add blank pages while concatenating several PDFs using PdfSmartCopy
concatenating files using PdfSmartCopy? I know PdfWriter can easily add blank pages, but it isn't made for merging a large number
-
Why aren't my fonts getting registered?
I have 156 TTF files under my /usr/share/fonts directory tree. Why aren't these being registered? I have a program using
-
How do I use pdfRender in a .NET environment?
Introduction While iText does not currently offer a native C# version of pdfRender
-
Removing Items from a PDF's Outline Tree
section removed.jpg Attached is the example PDF document used as input for the above code snippets. example itext7 itext-core
-
iText 7.1 - Migration guide for Java
will broadly cover the breaks in the API. Please consult the breaking changes on the iText website
-
iText 7.1 - Migration guide for .NET
will broadly cover the breaks in the API. Please consult the breaking changes on the iText website
-
Support for linearGradient Color Scheme in Layout, CSS and SVG
snippets, we demonstrate some of linearGradient's more nuanced applications using the iText 7 Core layout engine. If you're looking
-
Release iText Core 7.1.16
https://itextpdf.com/en/products/itext-7/convert-ms-office-to-pdf-pdfoffice has been added to the iText product portfolio. As its name su
-
How to watermark PDFs using text or images?
> the height. This can have an impact on the way you add a watermark, but if you use getPageSizeWithRotation(), iText will adapt
-
How can I serve a PDF to a browser without storing a file on the server side?
by Mishal Harish https://stackoverflow.com/users/4315788/mishal-harish You can use any OutputStream when creating a PDF file
-
Release pdfRender 1.0.5
while using the volume license library. In addtion, pdfRender also benefits from some stability improvements in iText Core
-
Chapter 3: Using renderers and event handlers
of your choice, you can either extend the Border class - you can use the existing implementations for inspiration - , or you can
-
Chapter 3: Using renderers and event handlers | .NET
with the border of your choice, you can either extend the Border class –you can use the existing implementations for inspiration–, or you
-
iText Core: Support Type3 fonts reading for stamping mode
fonts for stamping mode in which standard glyph names are used to identify glyphs. In version 7.1.16 of iText 7 Core you can now
-
.iText Core: Support Type 3 fonts reading for stamping mode vLatest
fonts for stamping mode in which standard glyph names are used to identify glyphs. In version 7.1.16 of iText 7 Core you can now
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 2
This example was written for the article "Using iText 7 and AWS KMS to digitally sign a PDF document
-
What is causing syntax errors in a page created with iText 7?
recent versions of iTextSharp warn you about this, so I guess you're using an old version. Look for the wrong and right code snippets
-
How do I load a license key?
, or iText 5.5.13 (or newer) you'll need to use version 3.x.y of the license key library. If you're using iText 5.5.12 (or earlier
-
Chapter 7: Handling events; setting viewer preferences and printer properties
discussed the default behavior of every element: Paragraph, Text, Image, and so on. We discovered that these elements can be used
-
iText 7: Converting HTML to PDF with pdfHTML
to PDF using pdfHTML, an add-on to iText 7. If you're new to iText, please jump to chapter 1 immediately. If you've been working
-
Release iText 7.0.2
, they are not available on the Maven Central Repository. You can get them from the iText Artifactory server
-
How can I find the maximum character limit for a text field?
How can I find the maximum character limit for a text field in an AcroForm form? I've researched this problem and I tried
-
How can I find the border color of a field?
when we look inside the resulting PDF using iText RUPS https://itextpdf.com/Products/itext-rups, and we take a look at the field
-
How to format a field as a currency?
I use iTextSharp to populate a form with data. I just learned [/question/how-format-field-percentage](how to format a field
-
How to add a table as a header?
I am working with iTextSharp trying to add an header and a footer to my generated PDF, but if I try to add an header that have
-
Chapter 4: Creating reports using pdfHTML
Roughly speaking, there are three major ways to create PDF documents using iText, You can create a PDF document from scratch
-
How to add text to an image?
I use iText to generate a PDF document. Suppose that the height of a page measures 500pt (1 user unit = 1 point), and that I
-
How to make an image a qualified mask candidate in itext?
Is there a way to mask an image using another image in iText? I want to mask an image using another image, for example A.jpg
-
Volume Counter FAQs
, refer to your Software License Agreement (SLA). Can I use my volume license keys with iText 5? You can use your volume license
-
How to define the data encoding when submitting a PDF form using AcroForm technology?
), and I submit the data to a server, how can I specify/retrieve the encoding that will be used? For instance. When I submit
-
Release iText 7.0.1
, but as a taste of things to come, you can already use the .NET version of our iText 7 Jump-Start Tutorial! In addition, this release mar
-
How to add a hidden text field?
I'd like to create a text field with iTextSharp that is not visible. Here's code I'm using to create a text field: TextField
-
Deploying iText 7 Suite SDK/API on Amazon Web Services
Task Running Using the iText 7 Suite HTTP API image2021-9-27_16-30-58.png After the iText 7 Suite REST API has been deployed, you
-
Release iText Core 7.1.14
Release date: January 14, 2021 iText Core 7.1.14 is the latest release of your favorite PDF library for Java and .NET
-
pdfHTML: Custom ResourceRetriever
In release 7.1.13 of iText Core and 3.0.2 of pdfHTML we've implemented a new class called ResourceRetriever. This class allows
-
Where do I get pre-sales tech support?
in use of iText. Any questions regarding use of the library will be forwarded to our support team. support itext_7_suite itext_5 faq
-
Why can't I extract text added using a Type3 font correctly from a PDF?
I have PDF file in Arabic that has text with font Type3 when I extract text using PDFBox some characters are empty
-
How To find internal links in a PDF file?
I am using ItextSharp for searching internal links in a PDF file. This is already done with External Links. //Get the current
-
How to tell iText how to clip text to fit in a cell?
the needed height and we can add the content using an offset: float offset = (getOccupiedAreaBBox().getHeight
-
What does "Not LTV-enabled" mean?
Since my signature was declared valid at a known and certified date, why would it become invalid in the future? I'm using
-
Fix for when a link occupies more than two areas, a NullPointerException is thrown
Introduction In versions of iText 7 Core prior to 7.1.12 it was possible that a link could occupy more than two areas
-
How to divide a page in N parts so we can fill each with a different source?
How can I achieve this using iTextPDF in java? Example So the first half of the page would be in English while the second part
-
Tables
to maintain a paragraph's indentation inside a table cell? What is the PdfPTable.DefaultCell property used for? How can I convert
-
Why iText and Blockchain?
in an accessible way. We can solve this using tools, but it's not always trivial to extract data from a PDF in a reliable way. Digital
-
How to add an In Reply To annotation?
I am trying to add a sticky note reply to in pdf using iTextSharp. I am able to create a new annotation in the pdf. But I
-
Why do I get an error saying that "use of extended features is no longer available"?
. The problem is related to whether or not your document is Reader Enabled. Reader-enabling can only be done using Adobe software
-
How to use two different colors in a single String?
. String result = "Developed By : Mr.XXXXX"; I can create a paragraph in iText and set font with color like this: Font
-
Support of proper word wrapping in languages with special scripts
-26-56.png These changes are automatically applied when using our latest iText Core release so they require no further intervention
-
Chapter 5: Adding AbstractElement objects (part 2)
developers use iText to convert the result set of a database query into a report in PDF. They create a Table of which every row
-
Why is iText embedding a font even when I specify not to embed?
are using Identity-H. In that case, the font shall be embedded. If the embedded parameter wouldn't be ignored, iText would
-
How to use a text extraction strategy after applying a location extraction strategy?
I used the following code to get data in PDF from a particular location. Rectangle rect = new Rectangle(0,0,250,250
-
Release iText 7.1.6
a line at an hyphen used to denote a minus sign. [DEVSIX-2659] : When creating a digital signature the iText Library does
-
How can I convert a CSV file to a table with a repeating header row?
I am generating a PDF file from CSV using iText. I need to format the file such that the header row (which occurs
-
Release iText Core 7.1.15
and licensekey-volume) and introduced a new structure for license files that becomes the main for all iText licenses. You still can use
-
Can I change the page count by changing internal metadata?
Where can I read more about the internal structure of a PDF document? Some days ago I started to play with the internal
-
Advantages of using Blockchain for Signing PDF documents
of the system could be human beings, companies, or systems used within companies (such as a CRM, an ERP, a DMS
-
How to use a dotted line as a cell border?
I am trying to create a table with cells that have a dotted line for a border. How can I do this? Posted on StackOverflow
-
How to introduce a custom font weight in iText 7?
. These glyphs are rendered by filling the path using a fill color. Knowing this is important to achieve your requirement. You can
-
iText 7: Jump-Start Tutorial for Java
in Bangalore on April 26, 2016. We released the first version of iText 7 in May. This tutorial is the first manual on how to use iText
-
iText 7: Jump-Start Tutorial for .NET
in Bangalore on April 26, 2016. We released the first version of iText 7 in May. This tutorial is the first manual on how to use iText
-
Release iText Core 7.2.2
Release date: April 11, 2022 It's already Q2 of 2022, and so we're pleased to announce the release of iText Core 7.2.2. Your
-
How to convert colored images to black and white?
ImageIO functionality: we just write the BufferedImage to a byte array telling ImageIO that we want "png". We can use
-
How to tell iText which fields to flatten first?
How do I change the order on the page of these fields with iText? I have a PDF with text form fields at are layered one on top
-
How to change the properties of an annotation?
I am adding Caret annotation in already existing PDF using iTextSharp in C#. Now I want to made some changes in the Annotation
-
.How do I set parameters back to the default value? vLatest
I am using absolute positioning when writing text in a PDF document using iTextSharp. It only have a single BaseFont instance
-
How do I set parameters back to the default value?
I am using absolute positioning when writing text in a PDF document using iTextSharp. It only have a single BaseFont instance
-
What is the PdfPTable.DefaultCell property used for?
https://stackoverflow.com/questions/24006618/what-is-the-pdfptable-defaultcell-property-used-for by Water Cooler v2 https://stackoverflow
-
How to preserve high resolution images in PDF?
. Is there any way to add a big image to an A4 page without losing quality? I'm using iTextSharp library, firstly I'm creating
-
How to reduce redundant code when adding content at absolute positions?
This is part of a vb.net http://vb.net app that uses the itextsharp library: Dim cb As PdfContentByte = writer.DirectContent
-
How can I load a font from /WEB-INF/resources/fonts/foobar.ttf?
" Java EE servlet class. In case you're using JSF — as confirmed by the stack trace — you can obtain the ServletContext
-
Release iText 7.1.3
modules to the iText Core releases: styled-xml-parser: a tool that can parse XML-like formats and their associated CSS for further
-
How to insert a "linked rectangle" with iText?
can use PdfDocument to manipulate an existing PDF. Adding a rectangular link on one page to another page, is as simple as adding
-
Actions and annotations
number? How to set the zoom level of a PDF using iTextSharp? How to create a clickable polygon or path? How to change the properties
-
Release pdfCalligraph 3.0.1
https://itextpdf.com/en/products/itext-7/itext-7-core by itself, you can also use pdfCalligraph https://itextpdf.com/en/products/itext-7/
-
How to change the color of a circle annotation?
I am adding a SquareCircle annotation to an already existing PDF using iTextSharp in C#. Now I want to change the Fill Color
-
Why is my font not applied when I create a PDF document?
Helvetica will be used instead (Helvetica is the default font in iText). You can "teach" the FontProgramFactory where to find
-
How to decrypt a PDF document with the owner password?
I need to remove the security/encryption from some PDF documents, preferably with the iText library. This used to be possible
-
Compatibility Matrix
/A 7.1.11 2.0.5 2.0.6 2.0.6 3.0.0 2.1.7 1.0.1 1.0.0 N/A N/A 7.1.10 2.0.5 2.0.5 2.0.5 2.1.7 2.1.6 1.0.0 N/A N/A N/A 7.1.9 2.0.4 2.0.4
-
Why is my content overlapping with my footer?
I want the content that overlaps to automatically move to the next page. I am using iTextSharp to generate PDF documents
-
Why do I get a "getOutputStream() has already been called for this response" error in JSP?
and then I use iText to create a PDF file which can be downloaded on client machine. The application is coded in HTML/JSP and runs
-
How to avoid an exception when importing a TIFF file?
. iText can also tolerate errors, as explained in the answer provided by Michaël Demey
-
How to create a list without indentation?
the label and the content of a list item by default in iText 7. Your question is: how can we remove this indentation. So at first I
-
Release iText Core 7.1.17
Release date: October 25, 2021 The iText 7.1.17 release is a maintenance release with a security bug fix for a vulnerability
-
PDF and Digital Signatures
when someone uses the private key to encrypt a message. Everyone who has access to the public key can decrypt the message
-
Why does iText enter a cross symbol when CheckType style is check mark?
When filling in a PDF programmatically, how can I show check marks instead of cross checks? I have an existing PDF that I am
-
Absolute positioning of lines and shapes
How to draw vertical gradient in iTextSharp? How to add an image to an existing PDF using AffineTransform? How to fill
-
How to add an onMouseOver javaScript action to a TextField?
How can I add javascripts to iTextsharp created textfields? To add an onMouseOver JavaScript action to a TextField, use
-
How to add a new form from an existing PDF template?
the XML. This is best done manually using Adobe LiveCycle Designer, but if you really want to do it programmatically, you can extract
-
How to use the full size of a page?
is only using a third of the space. I need to use the whole available space. I managed to set the size of the PDF document I'm
-
How to embed a font only partially?
Is partial embedding automatic? I am asked to include partial font into a PDF. I think I will use iText and I found how
-
Release iText 7.1.5
iText 7.1.5 is the fifth maintenance release for iText 7.1 Core
-
Release pdfOffice 1.0.0
over MS Office files. It is much more suited for archiving and distribution purposes, as files can be easily viewed using multiple
-
How to give an image rounded corners?
I want to get the image width and height and make the edges of the image curved. I'm using iTextSharp to export images
-
How to create hierarchical bookmarks?
How can I create a hierarchical bookmark structure in PDF using iText? I have data in ArrayList like below : ArrayList tree
-
Release iText 7.1.4
iText 7.1.4 is the fourth maintenance release for iText 7.1 Core https://itextpdf.com/itext-7-core/Community
-
Chapter 4: Making a PDF interactive
Rectangle(20, 800, 0, 0)) .setColor(Color.GREEN) .setTitle(new PdfString("iText")) .setContents("With iText, " + "you can truly take
-
Chapter 4: Making a PDF interactive | .NET
(20, 800, 0, 0)) .SetColor(Color.GREEN) .SetTitle(new PdfString("iText")).SetContents("With iText, you can truly take your
-
Why does using ColumnText result in "The document has no pages" exception?
I want to use ColumnText to wrap text in a rectangle, but it tells me the document has no pages. I want to use ColumnText
-
Release iText 7.0.4
for iText 7 Community. We've also updated pdfCalligraph to 1.0.3
-
How to get a font from an array?
you can create a PdfFont from a byte[], using the createFont() method. Suppose that fBytes is a byte[], then you'd have
-
How to create a custom dashed line separator?
. The LineSeparator class can be used to draw a solid horizontal line. Either as the equivalent of the tag in HTML, or as a separator
-
How to get the number of characters in a field?
I am trying to find out which format a date of birth should have in a empty field in a PDF using iText. I can stamp the field
-
Safeguards against loops in cross-reference structure of PDF files
We've made some improvements to how we parse cross-reference tables or streams in existing documents. The PDF file format uses
-
How to add an image to an existing PDF using AffineTransform?
to an existing PDF using AffineTransform? if you want to see how to answer this question in iText 5. images itext_7 itext_7_suite
-
How to rotate a page while creating a PDF document?
->top. I want to produce a PDF with pages in landscape. While I can set the size of the page to landscape using
-
Setting of choice form field using setValue Method
New for iText Core 7.1.11 is a change to how form fields are handled, specifically when /TI value is present, and when using
-
How to extract text and anchor information from a PDF?
I am looking for a method to extract the text as well as anchor information using iText. For example: the PDF content is "You
-
How to create a new PDF file if a file name already exists?
. To achieve this, you can use the createTempFile() method
-
Support for Beveled, Underline and Inset form field border styles
In iText 7 Core 7.1.14 we've implemented some border styles for PDF form fields which we were previously missing. The styles
-
pdfCalligraph: New types of GSOP lookup
not guarantee correct results if the selected font is using unimplemented GPOS table features. However, in iText Core release 7.2.0
-
How to get the page width and height of a PDF document?
I have a PDF, and I want to get the width and height of each page using iTextSharp. This is what I have so far: string source
-
How to change the color of pages?
the color of 3rd page. I want to change the color of 3rd page onward to white. How can I do this using iText? Posted on StackOverflow
-
Why do PDFs change when processing them?
PDF file in which objects are being reordered. IText 7 offers a StampingProperties class and you can simply use it in append
-
Can pdfHTML render Base64 images to PDF?
Yes, iText supports external images as shown in different examples in the previous chapters, but it also supports inline
-
How to add a full line break?
I use itextsharp and I need to draw a dotted line break from the left to the right of the page (100% width) but I don't know
-
How to check if a font is bold?
of making text appear bold, and is it possible to detect it using iTextSharp? Posted on StackOverflow on Jan 21, 2015
-
How to truncate text within a bounding box?
using: PdfContentByte.showTextAligned(); I'd like to know how I can stop the text overflowing a given region when writing
-
How to merge PDFs from ByteArrayOutputStreams?
I have two PDF files, each one in a ByteArrayOutputStream. I want to merge the two PDFs, and I want to use iText, but I don't
-
How to rotate a paragraph?
. Also, they can add text at absolute positions, rotations, and alignments. The text can have new lines. I've been using the iText
-
How to protect a PDF with a username and password?
and ask them to give you their public key. When you encrypt your PDF using their public certificate, you can then encrypt
-
How does a PdfPCell's height relate to the font size?
of the font, and tell iText to use the ascender and descender value. DISCLAIMER: in the past, we've received reports from customers
-
How to convert PdfStamper to a byte array?
the existing pdf is like a template. I am using iText jar for adding barcode. I want to know the possibilities of converting PdfStamper
-
How to get the UserUnit from a PDF file?
what you have in xy (but you probably knew that already). What you need now in iText 7 is the page dictionary, so that you can
-
How to change the line spacing of text?
. For instance: the default font size is 12 pt, hence the default leading is 18. In iText 7 you can change the leading of a Paragraph usin
-
Why doesn't getDefaultCell().setBorder(PdfPCell.NO_BORDER) have any effect?
for all the Cell instances separately, or you let iText use a Style in which case you can define the border at the level
-
How to format a field as a percentage?
I use iText from C# code. I use AcroFields to populate a form with data, but I lose my formatting. I am using the following
-
How to find out the current cursor position on a page?
I can set height appropriately. I add a bunch of stuff to a page, using a sequence of document.add() statements. Then I add
-
Why do I get a StackOverflowException in the OnEndPage() event handler?
. It is not the Document you have created in your code, but an internal object that is used by iText. You should use it for read-only purp
-
How to display indian rupee symbol?
such as ? in your source code. Plenty of things can go wrong if you do so: Somebody can save the file using an encoding different from Un
-
How to reorder pages in an existing PDF file?
I want to move a couple of the last pages to the start of my document. I am using the iText pdf library. Does any one know how
-
.How to add a shading pattern to a custom shape? vLatest
I have drawn an equilateral triangle as follows using iText canvas.setColorStroke(BaseColor.BLACK); int x = start.getX(); int
-
How to add a shading pattern to a custom shape?
I have drawn an equilateral triangle as follows using iText canvas.setColorStroke(BaseColor.BLACK); int x = start.getX(); int
-
How to get the rendered dimensions of text?
iText uses the CellRenderer to render content to a cell. We measure the width of the characters and tests if they fit
-
Chapter 1: Introducing basic building blocks
to an image to an ImageDataFactory that will return an object that can be used to create an iText Image object. The task
-
Chapter 1: Introducing basic building blocks | .NET
that will return an object that can be used to create an iText Imageobject. The task of the ImageDataFactory is to detect the type
-
Release pdfOCR 1.0.0
and the implementation module for Tesseract. In essence this means that you can hook up other OCR engines to iText, but it also means tha
-
How to set initial view properties?
https://stackoverflow.com/users/3768102/thirusanguraja-venkatesan In iText 7 when you have a PdfDocument instance named pdfDoc, you can s
-
Release iText 7.0.5
iText 7.0.5 https://mvnrepository.com/artifact/com.itextpdf/itext7-core/7.0.5 is a scheduled maintenance release for iText 7
-
How to set background image in PdfPCell in iText?
I am currently using iText to generate PDF reports. I want to set a medium size image as a background in PdfPCell instead
-
Can I convert an HTML form to a PDF?
) https://api.itextpdf.com/pdfHTML/dotnet/2.1.6/classi_text_1_1_html2pdf_1_1_converter_properties.html#afeca6138fbda92c63947179d8d09aefe,
-
Chapter 1: Introducing fonts
of code when compared to iText 5. The Style class is about much more than fonts. You can even use it to define padding and margin
-
How to get the image DPI in PDF?
scanned images that are saved into PDF files through iText (using Java). I can get width and height (either through Matrix
-
Release pdfCalligraph 2.0.8
https://itextpdf.com/en/products/itext-7/itext-7-core by itself, you can also use pdfCalligraph https://itextpdf.com/en/products/itext-7/
-
How to get the co-ordinates of an image?
https://stackoverflow.com/users/3682400/novice-3 When you say that you've tried with iText, I assume that you've used the ExtractImages
-
How to allow page extraction when setting password security?
property in iTextSharp which will allow enable page extraction. The following screen shot shows the property that I would like
-
How to extract embedded streams?
I use ((PdfStream)obj).getBytes(), iText will look at the filter. For instance: page content streams consists of PDF syntax
-
.Release pdfHTML 4.0.0 vLatest
of the .NET Framework from 4.5 to 4.6.1 to allow the use of the Microsoft.Extensions.Logging framework. As usual though, some
-
Why are PDF files different even if the content is the same?
Can someone please explain to me what kind of differences there are between files and the reason why the PDF format has
-
Before we start: Overview of the classes and interfaces
will be implemented by objects such as TextRenderer, ParagraphRenderer and TableRenderer. These renderers are used internally by iText
-
How to add a page number in the header of a PDF/A Level A file?
using a page event, the code works fine. However, when I introduce text that is added at an absolute position, iText throws
-
Release iText Core 7.1.13
, such as Thai, Khmer, Lao, and Myanmar. Besides that, we investigated and fixed a potential vulnerability in the way iText used to parse
-
Release iText 7.0.6
iText 7.0.6 https://search.maven.org/#artifactdetails%7Ccom.itextpdf%7Citext7-core%7C7.0.6%7Cpom is a scheduled maintenance
-
How to create a PDF with font information and embed the actual font while merging the files into a single PDF?
). This is the problem you are experiencing: when we use the smartMode, PdfWriter can detect and reuse identical objects, but the differen
-
Page events for headers and footers
How to create a table with 2 rows that can be used as a footer? Click How to add HTML headers and footers to a page
-
How to resize an Image to fit it into a PdfPCell?
result: So I have the following 2 questions: Can I resize the Image size into my code or do I have to do this with an image editor
-
How to add text at an absolute position on the top of the first page?
(template)); Now we can add as much data as we want: for (int i = 0; i Adding 100 "test" lines will cause iText 7 to create 4 pages
-
Release iText 7.1.8
iText 7.1.8 is the quarterly release for iText 7 Core/Community. This release includes support for XFDF, a much anticipated
-
How to add a rectangle to every page of a document?
Why does my code only add the rectangle on the last page? I'm using iText to create a PDF document. Right now I am trying
-
How to draw a borderless rounded rectangle?
); As soon as you have constructed the path, you can use a path painting operator to actually draw something. iText has different fill
-
How to make a field not required?
I am trying to make a field not required using iText. I know that I can make a field required using something like below
-
How to add blank pages to an existing PDF in java?
I have a normal PDF file, I want to insert blank pages at the end of this PDF using iText, without changing the existing PDF
-
pdfOffice + iText Core Annotations Example
as input. After using pdfOffice to convert our Microsoft Word document into a PDF, we then utilize iText Core to apply a simple
-
Does anyone have any idea how TabStop works?
I'm still trying to learn iText and have a few of the concepts down. However I can't figure out what TabStop is or how to use
-
Best iText 7 Questions on StackOverflow
Since 2013, StackOverflow is the most important channel used by iText Software to answer questions about iText from developers
-
How to split a row over multiple pages?
Can anybody suggest how I can split a row over multiple pages? I am using PdfPTable to create a table in PDF. I have a single
-
How to align two paragraphs to the left and right on the same line?
Solution 1: Use tabs iText 7 has a TabStop class and you can use addTabStops() method to add it to the Paragraph like
-
How to apply color to Strings in a Paragraph?
this: Paragraph p = new Paragraph("abc" + "def"); You implicitly tell iText that "abc" and "def" should be rendered using the same (defau
-
How to change the author name for comments?
over the annotations of a page and change the title (if it equals to "iText"). We use PdfDocument to persist the changed PDF
-
Is it safe to remove XFA?
Are there any issues that can come up of removing the XFA format from a PDF form? If I don't drop XFA, I can see the fields
-
pdfHTML: Bézier Curve Improvements
closely resemble that of the source HTML. bezier2.jpg. You can test this for yourself using the example resources and code
-
Do we need a browser engine to render HTML+CSS to PDF?
No, pdfHTML does all the work parsing the HTML and CSS, and mapping them to iText objects and styles. Then the iText engine
-
Where is the origin (x,y) of a PDF page?
)); In iText 7 the four parameters passed to the Rectangle constructor (x, y, width, height) define a rectangle using the x and y
-
How to write a Zapfdingbats character at a specific location on a page?
I want to put a check mark using Zapfdingbats on a specific location in my PDF document. What I achieved so far is this: I can
-
How to add a table in the top-right corner of the page?
I'm creating a table in PDF using iText. I want to place it in top right corner. Here is my code snippet: PdfPTable table
-
Where do I get tech support?
Commercially licensed users who have an active support and maintenance subscription can have up to 3 named users of our
-
How to send a 'success' response back to Acrobat Reader from a java servlet?
or application/vnd.fdf? AFAIK both are possible. Note that you can also use an annotation instead of JavaScript. Click How to send
-
pdfHTML: support for inline-block with a width percent value
In previous versions of pdfHTML there was a CSS bug where we did not fully support using a span or label tag in certain
-
How to add text as a header or footer?
"iText in action" says. There are no errors but the footer doesn't show up. Can somebody tell me what I'm doing wrong? class
-
Chapter 2: Adding low-level content | .NET
these methods in iText) you can draw paths and shapes. Let’s take a look at a small example: -406 20 m 406 20 l S This is PDF syntax
-
.Chapter 2: Adding low-level content | .NET vLatest
these methods in iText) you can draw paths and shapes. Let’s take a look at a small example: -406 20 m 406 20 l S This is PDF syntax
-
How to hide the Adobe floating toolbar when showing a PDF in browser?
built using iText), as well as the URL. Posted on StackOverflow on Oct 5, 2012
-
Blockchain for PDF Documents
. These issues and many more can now be solved by Blockchain. This eBook focuses on how you can use Blockchain in combination
-
Why are the AcroFields in my document empty?
your PDF in iText 7 using this code sample: Java C# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 PdfReader reader = new PdfReader(imgSrc
-
How do I add XMP metadata to each page of an existing PDF?
); You need to look for the /Metadata entry, which is a stream. And in iText 7 you can do it like: PdfStream stream
-
Release pdfHTML 3.0.5
of pdfHTML is the support of the attr() CSS function. This is used to retrieve the value of an attribute of the selected element
-
Release pdfHTML 4.0.0
of .the .NET Framework from 4.5 to 4.6.1 to allow the use of the Microsoft.Extensions.Logging framework. As usual though, some
-
Are iText 5 and iText 7 backwards compatible?
No. During development iText 7 went through some architectural changes which means some public class or package names have
-
How to find out which fields are required?
that the best solution will be to use iText library. I can read file, and read AcroFields from a document but is there any possibility
-
How to display barcodes in a matrix-like structure?
How can I display different bar codes in multiple columns in a PDF page using iText? I have to display 12 bar codes
-
How to create Persian content in PDF?
are made: ? followed by ? should be combined into a single glyph: ?? You can achieve this by creating a Style object in iText 7
-
How to generate 2D barcode as vector image?
Why are our barcode pages coming out completely black? I am generating 2D barcodes using iText API, but these barcodes
-
How to check for an event and remove it?
Is there a way to check to see if a page event has already been added to a PdfWriter object? If so, can you also remove
-
Page events
? https://kb.itextpdf.com/home/it7kb/faq/how-to-add-a-table-as-a-header How to generate a report with dynamic header in PDF using iText 7?
-
How to merge documents correctly?
Is there some way to detect the page size and then use that same page size for those documents? Or, if not, is it possible
-
Chapter 7: Creating PDF/UA and PDF/A documents
/A documents involve extra requirements when compared to ordinary PDFs. "Can we use iText to convert an existing PDF to a PDF/UA
-
Chapter 7: Creating PDF/UA and PDF/A documents | .NET
In chapter 1 to 4, we've created PDF documents using iText 7. In chapters 5 and 6, we've manipulated and reused existing PDF
-
How to prevent splitting a table?
How to ensure the entire table goes on the same page. I'm developing an app that generates PDF using iText. I have a table
-
Release pdfCalligraph 3.0.0
that aside from being a very useful add-on to iText 7 Core https://itextpdf.com/en/products/itext-7/itext-7-core by itself, you can also
-
Release iText Core 7.1.12
The iText Core 7.1.12 release is the third quarterly release of 2020 of our innovative PDF library. This Core release brings
-
How to parse multiple HTML files into one PDF?
where answer #1 is preferred. Test data: in both answers, we are going to reuse HTML files we have used in previous examples
-
Why does my header overlap with my content?
As you can see, I also define a TableHeaderEventHandler. I use this event as a page event: pdfDoc.addEventHandler
-
How to right-align text in a PdfPCell?
I have a C# application that generates a PDF invoice. In this invoice is a table of items and prices. This is generated using
-
How to add two images in one cell?
)); table.addCell(cell); doc.add(table); The result looks like this: Images added to a cell As you can see, the images were scaled by usin
-
Basic Concepts (Glossary)
the mechanisms iText has patented. About our Blockchain patents The mechanisms outlined in our patents can be used for any type of file
-
Chapter 2: Adding low-level content
these methods in iText - you can draw paths and shapes. Let's take a look at a small example: -406 0 m 406 0 l S This is PDF syntax
-
Release iText 7.0.8
iText 7.0.8 is a scheduled maintenance release for iText 7.0 Core https://itextpdf.com/itext-7-core/Community
-
How to create a table with only vertical borders?
the vertical lines. If you are using iText 7 note that now we use Table instead of PdfPTable and Cell instead of PdfPCell. You should
-
How to hyphenate text?
There are no Chunks in iText 7, we now use Text instances as atomic parts of Paragraphs. I've made an example based on your code
-
Release pdfHTML 3.0.3
the <pattern> element which is used to define a graphics object that can be "tiled" to cover an area, and the support of SVG defined
-
Chapter 6: Creating actions, destinations, and bookmarks
that follow, we'll discover some more types, and we'll also learn about different types of destinations that can be used
-
How to choose the optimal size for a font?
font = PdfFontFactory.createFont(FontConstants.COURIER, PdfEncodings.WINANSI, false); Now you can ask the base font for the width
-
How to merge forms from different files into one PDF?
, different scenarios are possible, but in any case: you are doing it wrong. You should use copyPagesTo() method in iText 7
-
Release iText 7.1.1
iText 7.1.1 https://search.maven.org/#artifactdetails%7Ccom.itextpdf%7Citext7-core%7C7.1.1%7Cpom is the first scheduled
-
How to get the author of a "free text" annotation?
Is it possible to get the author of a free text annotation using iText? I can retrieve the /Type and /Contents, but I can't
-
How to add an image and text to the same cell?
https://stackoverflow.com/users/5064085/semil-sebastian In iText 7 we use Cell instead of PdfPCell and Table instead of PdfPTable. I’ll w
-
How to crop out a part of PDF file?
is that this will make the pages smaller by removing the top part. Can someone help me to implement this so the page size remains the sam
-
How to add an x-offset to a text pattern with every x-step?
in iText 5). Then you should create a PdfPatternCanvas using your tile: PdfPattern.Tiling tilingPattern = new PdfPattern.Tiling
-
How to print mathematical characters like ?, ?, ?, ?, ? ?, ??
I am using iText for PDF generation. I have some characters/symbols to print like ∈, ∩, ∑, ∫, ? (Mathematical symbols
-
pdfHTML: Processing of extremely long elements
leak from happening. You can test out the issue by using the example code and resources below. When running the sample on an older
-
How to change width of single column of table?
I am looking to change the width of a column to fit a longer word. hello I have created table in a PDF file using iText
-
Release pdfOptimizer 1.0.1
Release date: April 14, 2021 We continue to improve pdfOptimizer, our newest iText 7 add-on designed to reduce the file size
-
Release licensekey 3.1.4
https://itextpdf.com/en/products/itext-7/compress-pdf-pdfoptimizer. We have introduced a new structure for license files that becomes the
-
How to align a label versus its content?
you want: Take a look at the following screen shot: Indentation options This PDF was created using the IndentationOptions
-
Release pdfHTML 3.0.4
ones in the coming releases. You can refer to the examples section to get insight into how flexbox can be already used for PDF
-
Release pdfOCR 1.0.2
that fixes output for Thai and some CJK fonts. This is especially important for our pdfCalligraph customers. You can turn
-
Release pdfRender 1.0.2
. This means it is now possible to create an in memory image object when converting from PDF using PdfRender, which in some
-
How to add text inside a rectangle?
I have created a rectangle using PdfContentByte. Now I want to add text inside this rectangle. How can I do this? My rectangle
-
What is the difference between getPageLabels and getPageLabelFormats?
(); The PageLabelNumberingStyleConstants enumeration in iText 7 can be used when creating page labels like this: pdfDoc.getPage(4).setPage
-
How to create a JavaScript action to open the attachments panel?
This can be done using a JavaScript action. Use the following code in iText 7: public void createPdf(String dest) throws
-
How to update a PDF without creating a new PDF?
the original file This example is written using iText 7: PdfReader reader = new PdfReader(src); PdfWriter writer = new PdfWriter(dest
-
How to set the OCG state of an existing PDF?
a change to a file you create a PdfDocument object in iText 7. As you want to change an OCG layer, you use the getLayers
-
Does my HTML have to be valid XML?
If you are still using iText 5 and XML Worker, you have to provide XHTML. For instance: a single <br> wasn't allowed in your
-
How to modify the size of annotations and make them read-only?
You can't prevent that people use the drop-down list, but you can make sure that functionality such as "Reply" and "Delete
-
Why do I get a font embedding error when creating PDFA/1a?
, but it isn't. You can check this by using that font in any other PDF that isn't PDF/A: if you go to Document Properties > Fonts, you'll
-
How to reuse a page from one PDF document into another PDF document?
How can I create an element from an existing PDF, so that I can place it in my new PDF? I'm trying to add an image that I have
-
How do we define an application?
application, it could be argued that that is a single application. Your iText account executive can help clarify specific use cases
-
Chapter 5: Manipulating an existing PDF document
().addAnnotation(ann); If we want to add content to a content stream, we need to create a PdfCanvas object. We can do this using a PdfPage
-
Chapter 5: Manipulating an existing PDF document | .NET
().AddAnnotation(ann); If we want to add content to a content stream, we need to create a PdfCanvas object. We can do this using a PdfPage
-
Chapter 4: Adding AbstractElement objects (part 1)
that can be used to group different elements. In Figure 4.1, we see an overview of movies based on the Jekyll and Hyde story
-
How to make a single letter bold within a word?
); It returns a Text instance (iText 7 does not have Chunks anymore). Now I can construct a Paragraph like this: Paragraph p = new
-
Why isn't the Rupee symbol showing?
am using iText for creating PDF. I have read the answer to the question "How to display indian rupee symbol
-
How to move an AcroForm field?
value. Fields are defined using a field dictionary. Each field can have zero, one or more representations in the document
-
How to precisely position an image on top of a Table?
https://github.com/itext/i7js-examples/blob/develop/src/main/java/com/itextpdf/samples/sandbox/tables/AddOverlappingImage.java class, we
-
What functionalities does iText 7 support?
The iText core v7 SDK includes APIs for almost 500 functions. A complete listing of the functions supported can be found here
-
Chapter 2: Defining styles with CSS
is the font style used for the director, as well as the font size for the IMDB link. As you can tell from figure 2.2
-
How to change the spacing between words and characters?
a paragraph, iText will add extra space between the words and between the characters. You can change this default like using
-
Release pdf2Data 2.1.8
. To explain, by choosing automatic mode for the table selector when defining a template in the data field editor, pdf2Data can recognize
-
How to read PDFs created with an unknown random owner password?
to any one) to prevent any edits. I use iText for encryption as shown below: byte[] userPass = "user".getBytes(); byte
-
Release iText 7.0.3
trial "carte blanche" mechanism Use iText 5 cert to detect if license key is an iText 5 license Stable FontRegisterProvider
-
How to get rid of the top padding in a PdfPCell?
I'm creating labels (as in Avery labels) using tables. Positioning of label elements requires some very tight tolerances
-
Examples for the iText 7 jump-start tutorial
All the examples used in the iText 7 jump-start tutorial are available from here: chapter 1, chapter 2, chapter 3, chapter 4
-
Examples for the iText 7 jump-start tutorial | .NET
All the examples used in the iText 7 jump-start tutorial are available from here: chapter 1, chapter 2, chapter 3, chapter 4
-
Release pdfCalligraph 2.0.9
useful add-on to iText 7 Core https://itextpdf.com/en/products/itext-7/itext-7-core by itself, you can also use pdfCalligraph
-
How to show an image at a text field position?
. When you change the dimension of a field, you risk that it will overlap with other content. In iText 7 we get an acrofield
-
How to fit a String inside a rectangle?
some strings, images and tables into my pdf file (there have to be several pages) but when I try to use ColumnText (I use
-
How to create a table with rounded corners?
https://stackoverflow.com/users/1833945/andreanobili In iText 7 this is done using cell renderers. You should set such renderer
-
Core SVG: Support <pattern> element
. This element is used to define a graphics object which can be "tiled" fixed intervals in x and y to cover an area. With full
-
Why doesn't FontFactory.GetFont() work for all fonts?
currently using and that registers all the 'usual suspects' (iText guesses the font path based on the OS). This method is expensive
-
Release iText 7.1.7
iText 7.1.7 is the quarterly release for iText 7 Core/Community. This release includes improvements to performance and reduced
-
How to open an MS Word attachment by clicking an image?
on the images. I wonder how can I do this with the iText library. I can add the images and attach the MS word documents but I haven't
-
How to rotate and scale pages in an existing PDF?
that it won't have any effect in Adobe Reader. The ISO standard for PDF says that the range that can be used for the user unit
-
Creating and editing PDF 2.0 Documents
PDF 2.0 support to iText! This page details how to create a PDF 2.0 document using iText, and how to take advantage of the new
-
How to calculate/set font line distance?
The difference between two lines is the leading. You can pick your own leading, but it is custom to use 1.5 times the font size
-
How to shrink pages in an existing PDF?
. Unfortunately, the user unit can never be smaller than 1, so you can't use this technique to shrink a page. If you want to shrink a page
-
Chapter 3: Generating PDF based on Media Queries
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/htmlsamples/html/css/sxsw.css for the HTML and CSS code that was u
-
How to add a background image to a cell?
that PdfPCell class does not exist in iText 7 anymore. You should use Cell instead. To add your own custom image and text you need
-
How to define the width of a cell?
I'm trying to change the width of a cell, but I don't succeed. Can someone explain how to define the width of a cell? Posted
-
How to create unique images with Image.getInstance()?
How can I guarantee a new bitmap every time? I need to use the GetInstance() variant that accepts raw bitmap data
-
Chapter 5: Custom tag workers and CSS appliers
https://api.itextpdf.com/pdfHTML/dotnet/2.1.6/interfacei_text_1_1_html2pdf_1_1_attach_1_1_i_tag_worker.html#ad44a15312e0f4b5b80f22ac07845
-
Release iText 7.1.9
iText 7.1.9 is the latest quarterly release for iText 7 Core/Community. This release includes further documentation
-
How to add a printable or non-printable bitmap stamp to a PDF?
Dialog box, it would not be printed, but when "Document and stamps" is selected, then the bitmap would print Right now I can create
-
How to create a table in which the cells have different widths?
https://stackoverflow.com/users/5684405/mcs So you want to use iText to create a table that looks like this: Table with cells of differen
-
How to continue field output on a second page?
to work it so that if the field's content overflows, then the program will use a second instance template as a second page
-
How to attach files to a PDF?
can't seem to reference them as links within the PDF. iText in Action suggests I can do this as annotations or document level
-
How to add alternative text for an image in Tagged PDF?
I know that iText can generate tagged PDF documents from scratch, but is it possible to insert alternative text for images
-
How to put text above a barcode instead of under the bars?
How do I produce barcodes with text above instead of below? I'm using iText to dynamically generate PDF docs.I'm able
-
How to superimpose pages from existing documents into another document?
error: Exception in thread "main" java.io.IOException: RandomAccessSource not opened How can I solve this problem? Posted
-
How to keep specific words together on one line?
doesn't even fit a line). P.S. Note that there are no Chunks in iText 7. We use Text instances as atomic parts of paragraphs
-
.How to add "continue on next page" / "continued from next page" to a table? vLatest
https://itextpdf.com/sites/default/files/AUtS4_3.png Page 3 As you can see, there is no header on the first page, there is only
-
How to add "continue on next page" / "continued from next page" to a table?
https://itextpdf.com/sites/default/files/AUtS4_3.png Page 3 As you can see, there is no header on the first page, there is only
-
Release pdf2Data 2.1.9
. This is the grouping of parsed values in the output XML file based on their y position, which is a feature that can be useful in numerou
-
How to draw a line every 25 words?
I create a PDF using iText. The content consists of text and I need to draw a line to delimit this text every 25 words
-
How do the measurement systems in HTML relate to the measurement system in PDF?
this feature. We can conclude that PDF uses the user unit as measurement unit. By default 1 user unit equals 1 point, which means
-
How to get specific types from AcroFields? Like PushButtonField, RadioCheckField, etc
have to replace the stream that draws the rectangle and the cross.. In IText 7 we added some popular appearances, so you can
-
How to remove text from a PDF?
, urx = 480, ury = 445] (where ll stands for lower-left and ur stands for upper-right). We can now use the following code
-
How to draw lines on an image?
(). restoreState(); return new Image(template); } As you can see, I add two green lines using moveTo(), lineTo() and stroke(). I
-
How to fix the orientation of a PDF page in order to scale it?
width and height to 50% of the original width and height, then using iText 7 I create two instances of PdfDocument class (one
-
How to restrict the number of characters on a single line?
How can I add strings to a single line that is underlined? I am using iText to generate PDFs. In these PDFs, I need to add two
-
How to create a clickable polygon or path?
Is anyone out there able to create a clickable annotation that has an irregular shape? I know I can create a rectangular one
-
Why does PdfStamper create a file with 0 bytes?
https://stackoverflow.com/users/2505603/integratedsolns In iText 7 all manipulations with PDF are done using PdfDocument instance. Encryp
-
Fail-safe processing of Outlines without Parent link
-level item is the outline dictionary itself. PDFs generated using iText conform exactly to the above requirement. iText's logic also
-
Release pdfHTML 4.0.2
Release date: April 11, 2022 pdfHTML is an iText 7 add-on that allows you to easily convert HTML and CSS into standards
-
Questions about PDF in general
PDF with a password? How to close a PDF file to recreate it? (File in use problem) Why are PDF files different even if the content
-
How do I rotate a PDF page to an arbitrary angle?
clockwise when displayed or printed. The value shall be a multiple of 90. Default value: 0. Whenever an ISO standard uses the word
-
How to calculate the height of an element?
https://github.com/itext/i7js-book/blob/develop/src/main/java/com/itextpdf/samples/book/part1/chapter03/Listing_03_07_FoobarFilmFestival.
-
How to make sure a check box is printed?
to iTextSharp, and would appreciate some help. I am creating some checkboxes, an example of the code is below: PdfFormField
-
How to create a document with unequal page sizes?
correctly. A new page can be triggered explicitly (using the AreaBreak class in your code) or implicitly (by iText, when a page
-
How to continue an ordered list on a second page?
a situation where the list begins with #1 on the first page and then #2-4 on the top of the second page. I use two different
-
Release pdfHTML 3.0.1
. This is a commonly used element in both CSS and SVG frameworks allowing for progressive transitions between colors in graphical objects
-
Release pdfCalligraph 2.0.7
https://github.com/NightOwl888/ICU4N!), we now support correct line breaks with these languages. Don't forget that aside from iText 7 Cor
-
Core SVG: Added support of font-relative units for the font-size property of a text element
incorrectly. This happened because iText would alternatively use default behavior when font size-relative length units
-
pdfOffice - Example
, 8))); } }</div> <div data-script-type="csharp">pdfOffice is not available yet for C#. We do have a REST API you can use. Please
-
How to create a table with complex borders?
this: Can anyone explain how I would start creating such a table? Posted on StackOverflow on Jul 9, 2015
-
How to add a cover page to an existing PDF document?
I need to add an existing cover page (a single-page PDF) to another existing PDF document. How can this be done? Posted
-
pdfHTML: Fixed Behavior for <input> Tags with Negative Numbers
box. More information about <input> tag can be found here https://www.w3schools.com/tags/tag_input.asp. Howver, when the tag had
-
.pdfHTML: Fixed Behavior for <input> Tags with Negative Numbers vLatest
box. More information about <input> tag can be found here https://www.w3schools.com/tags/tag_input.asp. Howver, when the tag had
-
How to get the page number of an arbitrary PDF object?
I am trying to find the page number of a PDF object using iText's Java API. The following code reads in the PDF file, and gets
-
How to format a String resulting in a two-column display?
"}, }; There are three ways to achieve this using iText. Solution #1: use a table Please take a look at the SimpleTable13
-
Release pdfXFA 3.0.1
Release date: April 11 2022 pdfXFA is an iText 7 add-on for Java and C# (.NET) that allows you to flatten dynamic XFA forms
-
Absolute positioning of text
What is causing syntax errors in a page created with iText? How to fit a String inside a rectangle? Why does ColumnText ignore
-
How to add an image to an AcroForm field?
I'm trying to fill out a PDF form using the AcroFields class. I'm able to add text data perfectly, but I'm having issues
-
.How to create a PDF with a Cartesian grid? vLatest
Could anyone please provide me a sample program that can dynamically create a grid or even dots starting at (0,0) at bottom
-
How to create a PDF with a Cartesian grid?
Could anyone please provide me a sample program that can dynamically create a grid or even dots starting at (0,0) at bottom
-
Is it possible to attach multiple layout events to a PdfPCell?
https://stackoverflow.com/users/4587348/robert Take into account that in iText 7 we use Table and Cell classes instead of PdfPTable and P
-
How to introduce rounded cells with a background color?
{ canvas.stroke(); } canvas.restoreState(); } } Now you can use this renderer with different input parameters (setNextRenderer
-
Release iText 7.1.2
iText 7.1.2 is the second maintenance release for iText 7 Core https://itextpdf.com/itext-7-core/Community
-
How to move the content inside a rectangle inside an existing PDF?
in iText 7. We use PdfFormXObject and PdfCanvas now. As you see in the code above, t_canvas1 contains the whole first page
-
How to convert an existing A4 PDF document to an A3 booklet?
I want to convert an existing A4 PDF document into an A3 PDF using Java. Since I am new to the iText API, I wonder if anyone
-
How to add a text to the left and to the right in a header?
https://stackoverflow.com/users/1862502/vignesh-vino If you are using iText 7 you should write the implementation
-
How to get text and image in the same cell?
https://stackoverflow.com/users/1912983/nickname If you are using iText 7 I recommend to look at TabStop class. You can create
-
How to change the order of Optional Content Groups?
with a hierarchy of layers (aka OCG). Using the following code snippet var ocProps = reader.Catalog.GetAsDict
-
How should I interpret the coordinates of a rectangle in PDF?
right Y Every time, I get confused about how to make dimensions based on these coordinates to draw rectangle. If possible, can I
-
How to stamp image on existing PDF and create an anchor?
this annotation separately using the addAnnotation() method. You can take a look at the resulting pdf: if you click on the i icon
-
How to fill a rectangle with color?
How do I ensure that I can choose the fill color? I have the following code : PdfContentByte canvas = writer.getDirectContent
-
How to create a pushbuttonfield with double byte character text?
); form.addField(pushButton); pdfDoc.close(); } If you don't set the font, the default font is used. The default font is the Standard Type
-
How to define spacing and leading in PdfPCell objects?
(p); As you can see in the resulting pdf, you define the space between the lines using the setFixedLeading() method. I've used
-
How to set the export value of a check box?
I need to add a check box to an existing PDF. I also need set the export value of this check box. I saw that I can get
-
Why do I have to buy core to use the add-ons?
The modular architecture of iText v7 allowed us to create significant add-on functionality with the development of add
-
pdf2Data: Add support for tables using ASCII line symbol separators
In previous versions pdf2Data would fail to recognize tables that use horizontal lines that are drawn using ASCII graphics
-
Release pdfHTML 4.0.1
. It brings better processing of SVG format, thanks to improvements to the SVG module in the iText 7 Core library. SVG support remains
-
How to set up a table display?
I have an application that I want to print an invoice like document in a table setup. Does anyone have a piece of code to use
-
When Contracts aren't Smart Contracts
in the blockchain, smart contracts can be used to determine whether and how a document can be registered in the blockchain
-
How to create a nested column?
I need help creating a nested table in iText. How can I create a table that looks like the table in the following screen shot
-
How to disable the save button and hide the menu bar in Adobe Reader?
and file menu using below code stamper.setEncryption( null,null, PdfWriter.HideWindowUI, PdfWriter.STRENGTH40BITS
-
Why does the function to concatenate / merge PDFs cause issues in some cases?
? I'm using the following code to merge PDFs together using iText: public static void concatenatePdfs(ListFile> listOfPdfFiles
-
How to get the color properties of an AcroForm field?
. Is there any way we can get color information from the fields? I created the AcroForm fields in the PDF using the following Adobe
-
How to add a map with a pointer to a PDF?
I am using java and iText to create a pdf. Is it possible to add a map with a pointer on it so the user will know where
-
How to create a pop-up window to display images and text?
, PdfAction.JavaScript("app.alert('action!')", stamper.Writer)); The above code is used to display an alert and I want to customize
-
How to extend the page size of a PDF to add a watermark?
https://raw.githubusercontent.com/itext/i5js-sandbox/master/resources/pdfs/primes.pdf document. This is the source file we are going to u
-
An IExternalSignature implementation for signing via PKCS#11 with the Entrust Signing Automation Service
This example was written to show how to use iText and the Entrust Signing Automation Service for PKCS#11 signing of PDF
-
iText 7
iText 7 is the latest version of iText's powerful PDF Toolkit for PDF generation, PDF programming, handling & manipulation
-
Chapter 6: Reusing existing PDF documents
the origPdf to release the resources of the original document. We can use the same functionality to tile a PDF page. Tiling PDF
-
Chapter 6: Reusing existing PDF documents | .NET
) and we close the origPdf to release the resources of the original document. We can use the same functionality to tile a PDF
-
PNG Image Handling
images to a PDF. Details When we use iText to add a PNG image to a document, in a few use cases we end up with a PDF file which
-
How to define different border types for a single cell?
that changes the color and the width of the border. I can now use the CustomBorder renderer like this: public void manipulatePdf(String
-
How to enable LTV for a timestamp signature?
Acrobat tells me my signature is LTV enabled, but the timestamp signature is not. How can I make both LTV enabled? I'm using
-
How to flatten a XFA PDF Form using pdfXFA
I assume I need to flatten a XFA form in order to display properly on the UI of an application that uses Nuance's CSDK. When I
-
How to read bookmark titles?
code works for the top-level, but if you want to see all the titles, you need to use a recursive method that also looks
-
How to extract a page number from a PDF file?
We explored many API's like Tika, PdfBox and iText to extract page numbers from a PDF file, but we weren't able to meet
-
Changing the zoom factor in a link destination
written in the context of questions such as: Click How to set the zoom level of a PDF using iTextSharp? Click How to change the zoom
-
.Changing the zoom factor in a link destination vLatest
written in the context of questions such as: Click How to set the zoom level of a PDF using iTextSharp? Click How to change the zoom
-
Creating Table of Contents using events
Example written in answer to the question Click How can I add titles of chapters in ColumnText? createtocincolumn <div data
-
Using forms for reporting
A series of examples that allow you to create reports using forms. These examples were used to answer questions such as: Click
-
.Using forms for reporting vLatest
A series of examples that allow you to create reports using forms. These examples were used to answer questions such as: Click
-
.How to create a table based on a two-dimensional array? vLatest
); Note that we use Table and Cell classes, because PdfPTable and PdfPCell don't exist in iText 7. The result will look like
-
How to create a table based on a two-dimensional array?
); Note that we use Table and Cell classes, because PdfPTable and PdfPCell don't exist in iText 7. The result will look like
-
How to align AcroFields?
I'm using iText to populate the data to PDF templates, which are created in OpenOffice. The form is populating fine; I'm
-
.Creating Table of Contents using events vLatest
Example written in answer to the question Click How can I add titles of chapters in ColumnText? createtocincolumn <div data
-
pdfOCR: If your scanned document has a mixture of sections with paragraphs and tables, what is a recommended strategy here?
into paragraphs without losing the words' boundaries. In addition, since pdfOCR 1.0.1, you can also use BY_WORDS_AND_LINES
-
pdf2Data: Grouping of extracted values in XML
is a quite flexible and yet powerful mechanism, which can be used in many use-cases. One of which we will demonstrate here
-
Release pdfOptimizer 2.0.1
you in cases when processing can break the PDF/A-1 compatibility. In the future, we will extend the PDF/A-1 standard support
-
pdfOffice: Digital Signing
of modules and add-ons available, iText has the flexibility and potential to address many of the most common customer use cases
-
pdfHTML: Support attr() function for content property
function is used to retrieve the value of an attribute of the selected element and use it in the stylesheet. It can also be used
-
How to rotate a single line of text?
but it doesn't. Anyone has a clue how to rotate text using the central point in itext? float fw = bf.getWidthPoint(text, textSize
-
Release pdf2Data 3.0.0
Release date: October 25, 2021 The main changes for pdf2Data 3.0.0 come from the upgrade of iText to 7.2.0, so all
-
How to adapt the position of the first line in ColumnText?
is the desired placement. Is there anything I can do to tell iText not to put any space between the top of the highest glyphs (D and Z
-
License file was corrupted
If you have an XML file, and you're getting this exception, chances are you are using an outdated version of the License Key
-
Release pdfOffice 2.0.0
of functionality nor breaking changes, but rather the Unified License Mechanism that will be used for the entire iText 7 Suite from now
-
Release pdfOCR 1.0.3
by considering a file's content to prevent errors in OCR processes. It allows you to use files with unknown or incorrect extensions
-
.Why does the cell background color affect the color of other lines? vLatest
I'm creating a PDF where I add some text to each page as well as 2 lines that are drawn using the following method: private
-
Why does the cell background color affect the color of other lines?
I'm creating a PDF where I add some text to each page as well as 2 lines that are drawn using the following method: private
-
How do setMinimumSize() and setFixedSize() interact?
https://itextpdf.com/question/how-do-setminimumsize-and-setfixedsize-interact to see how to answer this question in iText 5. P.S. Now we
-
Evaluating JS with pdfHTML
While pdfHTML does not evaluate JavaScript, we can solve this problem by using a browser engine to preprocess the HTML + CSS
-
Release pdfRender 1.0.0
We are proud to announce the first release of pdfRender, a new add-on for iText 7 Core which enables you to render PDFs