iText Knowledge Base
Search in spaces:
-
pdfOffice: improved conversion of docx files containing embedded videos
containing embedded videos. While previous releases would convert such files without errors, the resulting document would only contain
-
How to create a PDF with font information and embed the actual font while merging the files into a single PDF?
use the parameters embedded = true and subset = true, resulting in the files testA1.pdf
-
Embedded files
Examples for adding and removing embedded files in PDFs. These examples were written in answer to the question Click How
-
How to embed a font only partially?
, encoding, embedded); In this snippet: pathToFont is the path to a font file (.ttf, .ttc, otf, .afm), encoding is an encoding
-
Why is iText embedding a font even when I specify not to embed?
Why does NOT_EMBEDDED option still embed the font ? I am using Noto fonts to create a PDF and evaluating embedding versus
-
Why can't I embed a font due to licensing restrictions?
are not allowed to copy them and ship them for free, however, most of those fonts may be embedded within document files. Embedding
-
Why do I get a font embedding error when creating PDFA/1a?
) file. Without these PFB files, iText can't (and won't) embed these Standard Type 1 fonts. In other words: iText ignores
-
How to attach files to a PDF?
https://stackoverflow.com/users/1988003/duncanoppaz I'm sorry you didn't like my book. Did you read chapter 16? You want to embed a file
-
How to extract embedded streams?
I have embedded a byte array into a PDF file, more specifically an AVI file in a RichMedia annotation. Now I am trying
-
How to delete attachments in PDF using iText?
I want to write another program to delete the embedded files. How can I do this? Attachment shown in Adobe Acrobat public void
-
Do I need a license for Windows fonts when using iText?
fonts may be embedded within document files. Embedding allows fonts to travel with documents. Embedded fonts can only be used
-
How to close a PDF file to recreate it? (File in use problem)
If I don't close the file I get an error. How can I fixed this problem? I have the Java application that can create a PDF file
-
How to create a new PDF file if a file name already exists?
How can I create a new PDF file without appending or overwriting the original data of the first user? I need to create simple
-
pdfOptimizer: Support added for Font, Image, Color Space optimization
embedded subsets of font files within a PDF document. Font Subsetting Optimization: Allows the embedding of just the glyph data
-
How to open an MS Word attachment by clicking an image?
to and form a PDF file that is embedded in another PDF file. Other document formats aren't supported because. Your only option
-
Font examples
a PDF document? How to create a PDF with font information and embed the actual font while merging the files into a single PDF? How
-
How to use Cyrillic characters in a PDF?
(Font.FontFamily.HELVETICA, 10)); document.Add(p1); The output I get when the PDF file is generated, looks like this: "Testing of letters
-
Chapter 7: Creating PDF/UA and PDF/A documents
to be self-contained: all fonts need to be embedded; external movie, sound or other binary files are not allowed. The document needs
-
Chapter 7: Creating PDF/UA and PDF/A documents | .NET
Platform (XMP) format: ISO 16684 (XMP) describes how to embed XML metadata into a binary file, so that software that doesn't know how
-
Chapter 1: Introducing fonts
the metrics files. As a consequence, iText can't embed these 14 fonts, but this doesn't mean that iText can't embed fonts
-
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
-
Chapter 6: Using fonts in pdfHTML
https://itextpdf.com/en/products/itext-7/pdfhtmlships with some built-in fonts if you need to embed a font (chapter 4), but we didn't get
-
How to send a file to the server through a PDF?
Is there a way to create some kind of Input File, File Chooser, etc, and attach it on the generated PDF file? And then send
-
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
-
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
-
pdfOffice: improved conversion of docx files with repeating table header on new page
With the release of iText 7.2.2 and pdfOffice 2.0.2, we improved the conversion of docx files where a table extends to a new
-
How to add an image watermark to a PDF file?
My problem is that in some PDF files no watermark is added although the file size increased. Why is that? I'm using C
-
How to avoid an exception when importing a TIFF file?
When I try to convert a specific tiff file to PDF, the following exception occurs: java.lang.RuntimeException: Scanline must
-
What does "Not LTV-enabled" mean?
revocation information, or, is all of the revocation information embedded in the PDF file. At this point it knows what it's
-
How to load a PDF from a stream and add a file attachment?
When I save stream to file, the resulting PDF is not correct. The file attachment will always be an XML file, which I need
-
Does a PDF file have styles, headers and footers?
Does a PDF file have styles, headers and footers information as is the case with docx files that have separate xml files
-
Splitting a PDF file
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources
-
.Splitting a PDF file vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources
-
Fonts and merging documents
This example was written in answer to the question Click How to create a PDF with font information and embed the actual font
-
How to reorder the pages of a PDF file?
(); System.out.println("no of pages in pdf files..."+n); int totalNoPages=n; int tocStartsPage=13; sourcePDFReader.selectPages
-
How does iText Group count processes/files?
Files are counted based on one open, close, or edit to a PDF file. For example all of the following would count as one process
-
How to get the UserUnit from a PDF file?
files that I read into a byte array one by one. I then pass these byte arrays to a PdfReader instance. Now I want know
-
When is the content flushed to a PDF File by iTextSharp?
I assumed that Document.Add() flushed content to the PDF file (the file stream) immediately, but it looks like that's
-
Why does PdfStamper create a file with 0 bytes?
When attempting to encrypt a pdf, I get a zero size file as a result. Any ideas what is causing this? File f = new File("C
-
How can I serve a PDF to a browser without storing a file on the server side?
How can I serve the PDF file to the client without storing the file on the server side and allow the client side to directly
-
How to crop out a part of PDF file?
https://raw.githubusercontent.com/itext/i5js-sandbox/master/cmpfiles/stamper/cmp_hero_clipped.pdf (the iText superhero has lost arms, fee
-
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 rename named destinations in existing PDF files?
I would like the named destinations in all the documents to be the same. I've been using named destinations in PDF files
-
How to get a font from an array?
Is it possible to create a Font object from a byte array instead of using file paths? The FontFactory class has two methods
-
Release pdfOffice 2.0.2
symbols. In addition, documents which contain an embedded video (such as from YouTube) will now be converted correctly, and include
-
Why do I get an "System.IO.FileLoadException: Could not load file or assembly" error?
In my .NET project I get an "System.IO.FileLoadException: Could not load file or assembly" error. What could be causing
-
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
-
Extracting objects from a PDF
Example written in answer to the question Click How to extract embedded streams? extractstreams <div data-pym-src
-
Part I - Overview and Simple Cases
and/or an IOcspClient instance - these objects can be used to embed revocation information into the signature. This is completely optiona
-
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
-
Inspect a PDF
annotation? How to extract embedded streams? Why do I get an InvalidPdfException: PDF header signature not found ? How can I read
-
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
-
Creating and editing PDF 2.0 Documents
, associated files, and more. Later that year we released 7.1.0 https://itextpdf.com/blog/release-notes-itext-710 which brought
-
What are the extra characters in the font name of my PDF?
Why does it happen only for a few PDF file? While extracting font name from PDF, I get some junk characters followed by plus
-
Can pdfHTML render Base64 images to PDF?
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/htmlsamples/html/base64.html HTML file (note that the base64-encod
-
How to solve an UnsupportedCharsetException when using itext-asian.jar
CJK fonts (the fonts that are not embedded and require a font pack in Adobe Reader), you should use KozMinPro-Regular (without
-
How to solve an UnsupportedCharsetException when using itext-asian.jar?
have a font program named KozMinPro-Regular.otf, or you want to use the font KozMinPro-Regular. If you have a file named
-
Release pdfOptimizer 1.0.1
to remove unused symbols from the fonts embedded in PDF files, so the size of documents with small amounts of text can
-
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
-
How to add a page number in the header of a PDF/A Level A file?
https://stackoverflow.com/users/2790215/praan I've written an example that creates a PDF/A document based on a CSV file. I'm adding a hea
-
Release iText Core 7.1.16
https://repo.itextsupport.com/webapp/#/artifacts/browse/tree/General/nuget/itext7/itext7.7.1.16.nupkg Features SVG. Customizable TextLeaf
-
How to enable LTV for a timestamp signature?
the revocation info of the timestamp certificate is not embedded in the document : From my understanding, the addLtv() method should get
-
What is the connection between LTV and document timestamps?
the file (minus root certs) is contained within. which has been clarified as: the PDF is signed correctly and contains all necessary
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 5
, while the AwsKmsSignatureContainer class uses BouncyCastle to build the CMS signature container to embed just like in the Java
-
How to reorder pages in an existing PDF file?
the order is 1, 13, 14, 15, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16 now. Click How to reorder pages in an existing PDF file? if you
-
Release iText 7.0.5
https://github.com/itext/i7n-pdfinvoice OSGi metadata has been added to all pom.xml files iText 7 Core/Community 7.0.5 for Java
-
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
-
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
-
Release iText 7.1.0
tagged PDF tag set and namespaces, and associated files. iText 7 already supported industry standards, such as PAdES digital
-
Chapter 4: Creating reports using pdfHTML
HTML, To get information about fonts, colors, layout,... in the form of a CSS file, To get a single-page PDF document that can
-
How can I generate a PDF/UA compatible PDF with iText?
= pdfDoc.getDocumentInfo(); info.setTitle("English pangram"); Paragraph p = new Paragraph(); //PDF/UA //Embed font PdfFont font
-
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
-
Release iText 7.1.6
fixed-layout algorithm in case a negative width remains sign Embed OCSP response for all certificates in the chain in PdfSigner
-
How to merge forms from different files into one PDF?
requirement. Click How to merge forms from different files into one PDF? if you want to see how to answer this question in iText 5
-
Core SVG: Support <pattern> element
as the pdfHTML add-on to correctly render <pattern> elements in SVG files and HTML-embedded SVG respectively. You can consult the w3
-
Release iText 7.0.0
to embed PDF functionalities into various parts of their workflow. As opposed to off-the-shelf, plug-and-play PDF converters, iText
-
Chapter 7: Handling events; setting viewer preferences and printer properties
is ignored when using 40-bit ARC encryption. EMBEDDED_FILES_ONLY– if you want to encrypt the embedded files only, and not the actual
-
Release iText 7.1.7
images embedded as <object> pdfXFA 2.0.2 for Java
-
Chapter 6: Creating actions, destinations, and bookmarks
https://itextsupport.com/apidocs/itext7/latest/com/itextpdf/kernel/pdf/action/PdfAction.html class, you'll find many more, such as create
-
Where are your .NET examples?
# slider to switch between each embedded example. faq
-
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
-
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 the XFA XML
-
Release iText Core 7.2.0
embedding strategies: instead of true/false we have now four EmbeddingStrategy values. Make EmbeddingStrategy.PREFER_EMBEDDED
-
Release iText 7.1.1
. [DEVSIX-1714] - Take into account color profile embedded in png. Pull Request [Richard Cohn] Redo alignment + float fix for 7.1
-
iText 7 Building Blocks - Chapter 4: AbstractElement examples (part 1)
-max-file-size='50000'> </div> c04e02_divexample2 <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
iText 7 Building Blocks - Chapter 5: AbstractElement examples (part 2)
' data-max-file-size='50000'> </div> c05e03_cellalignment <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
iText 7 Building Blocks - Chapter 6: actions, destinations, bookmarks
-file-size='50000'> </div> c06e02_namedaction <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
iText 7 Building Blocks - Chapter 3: ILeafElement examples
-uploads='2' data-max-file-size='50000'> </div> c03e02_jekyllhydetabsv2 <div data-pym-src='https://itext.jdoodle.com/embed/itext
-
iText 7 Building Blocks - Chapter 1: PdfFont examples
='2' data-max-file-size='50000'> </div> c01e02_text_paragraph_cardo <div data-pym-src='https://itext.jdoodle.com/embed/itext
-
iText 7 jump-start tutorial : Chapter 6
-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> c06e02_thegoldengatebridge_tiles <div data-pym-src
-
Creating and adding annotations
-uploads='2' data-max-file-size='50000'> </div> addpointerannotation <div data-pym-src='https://itext.jdoodle.com/embed/itext' data
-
iText 7 Building Blocks - Chapter 2: RootElement examples
' data-max-file-size='50000'> </div> c02e02_canvascut <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
iText 7 Building Blocks - Chapter 7: events, viewer preferences, writer properties
' data-max-file-size='50000'> </div> c07e02_textwatermark <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java
-
How can I load a font from /WEB-INF/resources/fonts/foobar.ttf?
. I get following exception: ExceptionConverter: java.io.IOException: /fonts/CALIBRI.TTF not found as file or resource. Caused
-
Why do PDFs change when processing them?
When I calculate a hash for my files, I get 2 different hash results. Why is this? In the next code snippet, I use PdfStamper
-
Positioning different text snippets on a page
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> centervertically <div data-pym-src
-
iText 7 jump-start tutorial : Chapter 7
' data-max-file-size='50000'> </div> c07e02_quickbrownfox_pdfa_1b <div data-pym-src='https://itext.jdoodle.com/embed/itext' data
-
Adding images to a table
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Table and cell events to draw borders
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file
-
Objects in columns
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> simplecolumn
-
.Objects in columns vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> simplecolumn
-
XFA examples
of an AcroForm field? Click How to fill out a pdf file programmatically
-
Using forms for reporting
How to merge forms from different files into one PDF? Click How to merge documents correctly? mergeforms <div data-pym-src
-
.Using forms for reporting vLatest
How to merge forms from different files into one PDF? Click How to merge documents correctly? mergeforms <div data-pym-src
-
Chapter 1: Hello HTML to PDF
In this chapter, we'll convert a simple HTML file to a PDF document in many different ways. The content of the HTML file
-
iText 7 jump-start tutorial : Chapter 4
-max-file-size='50000'> </div> c04e01_02_linkannotation <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
Tiling and N-upping
' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> tileintwo2 <div data-pym-src
-
Adding watermarks to images
-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size
-
.Tiling and N-upping vLatest
' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> tileintwo2 <div data-pym-src
-
pdfHTML: Support for overflow-wrap, word-break CSS Properties
in our HTML, we embed the NotoSansJP-medium font (download link
-
Scaling and rotating pages
-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
.Scaling and rotating pages vLatest
-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
PDF Portfolios
contain multiple files integrated into a single PDF. Files in a PDF Portfolio can be in a wide range of file types created
-
iText 7 jump-start tutorial : Chapter 1
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Filling out forms
' data-max-file-size='50000'> </div> fillformspecialchars2 <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
Adding metadata
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> addxmptopage <div
-
Generating and displaying bar codes
-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size
-
Adding a background to a table
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> imagebackground <div
-
Colspan and rowspan
-uploads='2' data-max-file-size='50000'> </div> rowspanabsoluteposition <div data-pym-src='https://itext.jdoodle.com/embed/itext
-
Nested tables
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> nestedtableroundedborder <div
-
Alignment, indentation, leading and spacing in cells
' data-max-uploads='2' data-max-file-size='50000'> </div> indenttable <div data-pym-src='https://itext.jdoodle.com/embed/itext' data
-
iText 7 jump-start tutorial : Chapter 5
-max-uploads='2' data-max-file-size='50000'> </div> c05e02_fillandmodifyform <div data-pym-src
-
Creating form fields
These examples were written in answer to questions such as: Click How to send a file to the server through a PDF? Click How
-
.Creating form fields vLatest
These examples were written in answer to questions such as: Click How to send a file to the server through a PDF? Click How
-
Watermark examples
-uploads='2' data-max-file-size='50000'> </div> transparentwatermark2 <div data-pym-src='https://itext.jdoodle.com/embed/itext' data
-
Changing the zoom factor in a link destination
We create a file with specific /XYZ destinations and we change the zoom factor of these destinations. These examples were
-
.Changing the zoom factor in a link destination vLatest
We create a file with specific /XYZ destinations and we change the zoom factor of these destinations. These examples were
-
Create fields in a table
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Pattern colors
-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> shadedfill <div data-pym-src
-
.Pattern colors vLatest
-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> shadedfill <div data-pym-src
-
pdfHTML: Custom ResourceRetriever
-libs="itext7:latest.release" data-show-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size="5000000
-
Installing the iText license key and license key library for Java and .NET
. In addition, it replaces the old XML license file with a new one in JSON format. Simply put, if your license key file is an XML file you
-
Installing iText 7 pdf2Data for Java
with pdf2Data is to create a data field template in the online editor. Upload your template PDF file to the first step
-
Installing iText 7 pdf2Data for .NET
to start with pdf2Data is to create a data field template in the online editor. Upload your template PDF file to the first step
-
Splitting tables
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Tables and fonts
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
How to update a PDF without creating a new PDF?
I need to change the value of a field in an existing PDF file. I am using PdfReader, PdfStamper and AcroFields and that's
-
Why do I get a "getOutputStream() has already been called for this response" error in JSP?
How can I generate a dynamic PDF file which can be downloaded by client machine? I'm using JDBC to fetch data from database
-
.Named destinations vLatest
Examples in answer to questions such as: Click How to rename named destinations in existing PDF files? renamedestinations <div
-
iText 7 jump-start tutorial : Chapter 2
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Header and footer examples
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> stampheader2 <div data
-
Multiline fields
-uploads='2' data-max-file-size='50000'> </div> readonlyfield <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java
-
Showing special characters
-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> rupeesymbol <div data-pym-src
-
Changing OCGs
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Merging documents with bookmarks
' data-max-file-size='50000'> </div> mergewithoutlines <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
.Changing OCGs vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
.Merging documents with bookmarks vLatest
' data-max-file-size='50000'> </div> mergewithoutlines <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
pdfOffice - Example
pdfOffice is an iText 7 add-on that allows generating a PDF document from either a Word, PowerPoint, or Excel file. Currently
-
Webapp installation guide pdf2Data template editor
file by the mail.to variable), the email will have to be sent from a certain email address (as indicated by the mail.from
-
Digital signatures - chapter 2
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
.PDF/A-3 vLatest
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class
-
Which image types are supported by iText?
I want to add a PNG image to a PDF file, but I've read that PNG files aren't supported in PDF. Does this mean that I can't use
-
Cell and table widths
-file-size='50000'> </div> fullpagetable <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
Page events for headers and footers
-max-file-size='50000'> </div> tableheader <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
Release pdfOffice 1.0.0
It was developed to provide best-in-class native conversion of MS Office documents into fully ISO-compliant PDF files. It can handle file
-
Digital signatures - chapter 3
-uploads='2' data-max-file-size='50000'> </div> c3_02_getcrlurl <div data-pym-src='https://itext.jdoodle.com/embed/itext' data
-
Alternatives to using a PdfPTable
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> tablespace <div data-pym-src
-
Named destinations
Examples in answer to questions such as: Click How to rename named destinations in existing PDF files? renamedestinations <div
-
Merging documents and create a Table of Contents
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
.Merging documents and create a Table of Contents vLatest
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
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
-
Why do I get an "InvalidPdfException: PDF header signature not found"?
pdf files. The code fails at the line : iTextSharp.text.pdf.PRTokeniser.CheckPdfHeader
-
What does PDF 2.0 stand for?
or printed. It is intended for developers of : software that creates PDF files (PDF writers), software that reads existing PDF
-
Language-specific examples
' data-max-file-size='50000'> </div> hindiexample <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
Reusing images
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> reuseimage <div
-
PDF/A-3
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class
-
Change the position of a field
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> checkboxflatten <div data-pym
-
Adding fields to an existing form
-uploads='2' data-max-file-size='50000'> </div> addfieldandkids <div data-pym-src='https://itext.jdoodle.com/embed/itext' data
-
Adding a cover page to an existing PDF
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> addcover2 <div data-pym-src
-
pdfHTML: Responsive Design
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
.Reusing images vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> reuseimage <div
-
Volume Counter installation guide
.x. In addition, it replaces the old XML license file with a new one in JSON format. Simply put, if your license key file
-
Volume Counter FAQs
XML license file with a new one in JSON format. Simply put, if your license key file is an XML file you should follow
-
Removing Items from a PDF's Outline Tree
-execute="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script-type="java">package support.JiraArticles
-
pdfHTML: Bézier Curve Improvements
="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script-type="java">import
-
Encrypting / Decrypting PDFs
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> decryptpdf2 <div data-pym
-
PDF/A-1
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</
-
.PDF/A-1 vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</
-
.Multiple images vLatest
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div
-
Which PDF filters are used to encode data?
. Currently I am working with the iTextSharp library to generate PDF files. These files will be processed by some file processor
-
How to change the order of Optional Content Groups?
I have a PDF file with a hierarchy of layers. How do I modify this data in order to copy it into new file? I have a PDF file
-
Repeating rows
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Page orientation and rotation
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> pagerotation <div data
-
Removing content with pdfSweep
='true' data-max-uploads='2' data-max-file-size='50000'> </div> removeredactedcontent <div data-pym-src
-
Cell heights
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> fittableonpage <div data-pym
-
Render data as table
convert a CSV file to a table with a repeating header row? arraytotable <div data-pym-src='https://itext.jdoodle.com/embed/itext
-
How to convert HTML containing Arabic/Hebrew characters to PDF?
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/htmlsamples/html/say_peace.html HTML file to PDF. Say Peace in HTM
-
How to decrypt a PDF document with the owner password?
https://stackoverflow.com/users/76123/daniel-pratt In order to test code to encrypt a PDF file, we need a sample PDF that is encrypted
-
Spot colors
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Multiple images
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div
-
Page events for Chunks
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> every25words <div data-pym-src
-
Large Image examples
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file
-
.Background images vLatest
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
.Spot colors vLatest
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Chapter 3: Generating PDF based on Media Queries
Figure: pdfHTML C3F01 Examining the example HTML file Figure 3.1 shows an HTML page introducing South by South West, a yearly
-
Manipulating existing PDFs
to merge PDFs from ByteArayOutputStreams? How to load a PDF from a stream and add a file attachment? How to add blank pages
-
How to add blank pages while concatenating several PDFs using PdfSmartCopy
I'm trying to concatenate a huge number of PDF files to create a print-ready file, so that I don't have to print them one
-
Chapter 3: Using ILeafElement implementations
, we've used a txt file as a resource to create a PDF document. In this chapter, and in the chapters that follow, we'll also use
-
pdfCalligraph: Support for Myanmar script
showing how to achieve this. The following variables represents file paths as strings to their designated file: licensePath - String
-
Background images
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Can I convert an HTML form to a PDF?
There is limited support for converting HTML forms to a PDF document. If you have an HTML file with text fields that you want
-
I upgraded to iText 7, how do I use my license?
in XML format. See the instructions for iText 7.1.x. NOTE: Loading the license file should be done as early as possible in the flow
-
Images and Affine Transformations
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file
-
Reordering pages
Read the following Q&As for more info: Click How to reorder pages in an existing PDF file? Click How to reorder the pages
-
Reduce image
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p
-
PDF/A-2
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p
-
Changing the alignment of a field
-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example-resources
-
Image masks
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div
-
Clipping pages in an existing PDF
This example was written in answer to the question Click How to crop out a part of PDF file? clippdf <div data-pym-src
-
.Changing the alignment of a field vLatest
-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example-resources
-
.Clipping pages in an existing PDF vLatest
This example was written in answer to the question Click How to crop out a part of PDF file? clippdf <div data-pym-src
-
.PDF/A-2 vLatest
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p
-
.Reduce image vLatest
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p
-
.Reordering pages vLatest
Read the following Q&As for more info: Click How to reorder pages in an existing PDF file? Click How to reorder the pages
-
An IExternalSignature implementation for signing via PKCS#11 with the Entrust Signing Automation Service
in C:\Program Files\Entrust\SigningAutomationClient\P11SigningClient64.dll on Windows for example. For reference, the setup
-
Part III - PKCS#11
file. The exact contents of such a configuration file depend on your PKCS#11 driver and device or service. The general form is like
-
General questions about iText
NoClassDefFoundError? How to create an uncompressed PDF file? How to create a list without indentation? Which PDF filters are used
-
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
-
Repeating parts of a form
-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2> <p><a class="resource-file" href
-
Page events for Paragraphs
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> borderforparagraph2 <div
-
Fit text in cell
-max-uploads='2' data-max-file-size='50000'> </div> truncatetextincell <div data-pym-src='https://itext.jdoodle.com/embed/itext
-
Colored text
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file
-
Adding backgrounds using page events
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> pageborder <div data-pym-src
-
Parsing PDFs
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Bookmark examples
' data-max-uploads='2' data-max-file-size='50000'> </div> changebookmarks <div data-pym-src='https://itext.jdoodle.com/embed/itext
-
.Bookmark examples vLatest
' data-max-uploads='2' data-max-file-size='50000'> </div> changebookmarks <div data-pym-src='https://itext.jdoodle.com/embed/itext
-
.Repeating parts of a form vLatest
-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2> <p><a class="resource-file" href
-
How to protect a PDF with a username and password?
(paid account), and there's a DOWNLOAD section where pdf files can be downloaded by users only. These files should be protected
-
pdfHTML: Color blindness examples
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Chapter 6: Reusing existing PDF documents
. Scaling PDF pages Suppose that we have a PDF file with a single page, measuring 16.54 by 11.69 in. See Figure 6.1. Figure 6.1: Golden
-
Chapter 6: Reusing existing PDF documents | .NET
. Scaling PDF pages Suppose that we have a PDF file with a single page, measuring 16.54 by 11.69 in. See Figure 6.1. Figure 6.1: Golden
-
Evaluating JS with pdfHTML
file is quite simple: <!DOCTYPE html> <html> <body> <div id="test">Before</div> <script type="text/javascript
-
Part IV - Appearances
-file-size="5000000"> <div data-script-type="java">PdfSigner signer = new PdfSigner(...); signer.setFieldName("My Signature Name
-
pdfHTML: Custom Tagworker examples
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
How to extract text and anchor information from a PDF?
a text file with target links information. Posted on StackOverflow on Jul 10, 2014
-
How to check if a font is bold?
I have an application, that extracts headings out of pdf files. The documents that the application is supposed to work
-
pdfOCR: How to OCR an Image to PDF?
="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script-type="java">import com.itextpdf.kernel.pdf.PdfWriter
-
How do I use pdfRender in a .NET environment?
to specify the location of your pdfRender license file. The following is a list of the image file types which a PDF can be rendered
-
Page events for Watermarking
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources
-
Reuse a font from an existing PDF
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</
-
Page numbers and PDF/A
This example was written in answer to the question Click How to add a page number in the header of a PDF/A Level A file
-
How to disable the save button and hide the menu bar in Adobe Reader?
be preserved. In addition to this, I need to disable the file menu of the browser window in which it is rendered. I have disabled print
-
pdfRender: BufferedImage as output format
able to convert PDF pages to JPG, PNG or other image file formats. As of pdfRender 1.0.2 this has been extended to include
-
Installing iText 7 pdfHTML for Java developers
the version of iText 7 Core you have a license for. Download the modules (.jar) of iText 7 Core/Community and pdfHTML (ZIP files) from
-
Installing iText 7 pdfOCR for Java developers
for. Download the modules (.jar) of iText 7 Core/Community and pdfOCR (ZIP files) from Maven Central
-
Installing iText 7 pdfSweep for Java developers
https://itextpdf.com/en/products/itext-7/itext-7-core/Community https://itextpdf.com/en/products/itext-7/itext-7-communityand pdfSweep (Z
-
Installing iText 7 for .NET
) of iText 7 Core in a single ZIP file for .NET: iText 7 https://github.com/itext/itext7-dotnet/releases/latest. Developers can
-
Installing iText free trial for Java and .NET developers
in the email, and download the license file using the 'Download Selected Keys' button. It will download in a zip file
-
Chapter 5: Custom tag workers and CSS appliers
https://github.com/itext/i7js-examples/blob/develop/src/main/resources/htmlsamples/html/2_inline_css.html HTML file), but we'll change th
-
Chapter 1: Introducing basic building blocks
. These PDF documents couldn't be produced manually due to the volume (the high number of pages and files) and because the content wasn't
-
Chapter 1: Introducing basic building blocks | .NET
. These PDF documents couldn’t be produced manually due to the volume (the high number of pages and files) and because the content wasn’t
-
Tagged PDF: Adding Alt to the Structure Tree
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2
-
Highlighting text
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file
-
Image on rotated page
-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example-resources
-
Links in tables
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class='example
-
Changing properties of an annotation
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div
-
Replacing PDF objects
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
Viewer preferences
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size
-
Vertical text
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
How not to merge documents
-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example-resources'><a class='resource-file' href
-
Change the content of a button
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
Drawing extra content on an image
' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example
-
Underline a form field value
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources
-
Filling out a form in multiple passes
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources
-
Changing page sizes of existing PDFs
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p
-
Tiling images
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p
-
Replacing images
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class
-
Cut and paste content in a page
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class
-
Adding page numbers to an existing PDF
-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example-resources
-
Czech example
-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example-resources'><a class='resource-file' href
-
Changing the author of an annotation
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class
-
TOC as first page
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Flatten XFA using pdfXFA
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
.Change the content of a button vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
.Changing page sizes of existing PDFs vLatest
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p
-
.Changing properties of an annotation vLatest
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div
-
.Changing the author of an annotation vLatest
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class
-
.Tiling images vLatest
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p
-
.Underline a form field value vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources
-
.Vertical text vLatest
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
.Viewer preferences vLatest
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size
-
.Replacing images vLatest
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class
-
.Replacing PDF objects vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
.Cut and paste content in a page vLatest
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class
-
.Drawing extra content on an image vLatest
' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example
-
.Filling out a form in multiple passes vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources
-
Release pdfOCR 1.0.3
. From now on, pdfOCR does not rely on the file extension to determine the image type, but instead it detects the image type
-
Remove digital signatures
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
How to generate and design PDFs with iText or iTextSharp?
document with iTextSharp with code (i.e not loading external files)? I want the final result to look similar to a web page
-
pdfOCR: How to OCR an Image to PDF/A-3u?
:latest.release" data-show-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script
-
How do I create a separate OCR layer?
:latest.release" data-show-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script
-
Installing iText 7 pdfCalligraph for Java developers
the installation guide here. Download the modules (.jar) of iText 7 Core and pdfCalligraph (ZIP files) from the iText Artifactory
-
Installing iText 7 pdfXFA for Java developers
and pdfXFA (ZIP files) from the iText Artifactory Server https://repo.itextsupport.com/releases
-
Why do I get a message saying 1.not.found.as.a.resource?
https://stackoverflow.com/users/370092/john-renfrew It seems that it misses the Adobe Font Metrics (.afm) files. This message tells you
-
Rowspan and splitting
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Digital signatures - chapter 1
-file-size='50000'> </div> c1_02_digestbc <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
Digital signatures - chapter 4
-file-size='50000'> </div> c4_08_serverclientsigning <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
Digital signatures - chapter 5
-file-size='50000'> </div> c5_02_signatureinfo <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
How to make a particular sub-string Bold when converting HTML to PDF?
this: public void createPdf(String file) throws IOException, DocumentException { // step 1 Document document = new Document(); // step
-
Could not find a glyph corresponding to Unicode character
realm), so pdfOCR will warn you if it can't find a corresponding glyph. For such scenarios, you just need to specify a font file
-
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
-
pdfHTML: QRCode Examples
-uploads='2' data-max-file-size='50000'> </div> qrcodetagworker <div data-pym-src='https://itext.jdoodle.com/embed/itext' data
-
How can I log the number of documents / bytes I've processed?
about the processed documents is written to a file. We need to implement three methods: getCounter(): this method will return
-
Support for linearGradient Color Scheme in Layout, CSS and SVG
-libs="itext7:latest.release" data-show-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size="5000000
-
Release pdfOCR 1.0.0
into fully ISO-compliant PDF or PDF/A-3u files, making it possible to access and process the text they contain. Given that we rely
-
Where can I download the license key library?
, it replaces the old XML license file with a new one in JSON format. Simply put, if your license key file is an XML file you should follo
-
Deploying iText 7 Suite SDK/API on Amazon Web Services
of the license key. So: zip your .XML license file get the Base64 encoding set it as the value for the ENCODED_LICENSE Environment
-
Create booklet from A4 document
' data-max-file-size='50000'> </div> makebooklet <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
pdfHTML: Accessible PDF Creation
' data-max-file-size='50000'> </div> accessibilitytagworkerfactory <div data-pym-src='https://itext.jdoodle.com/embed/itext' data
-
XFDF examples
' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> fillformxfdf <div data-pym-src
-
Why doesn't FontFactory.GetFont() work for all fonts?
actually load and register the font file and then get it like so: FontFactory.Register("C:\\Windows\\Fonts\\georgia.ttf", "Georgia
-
.Create booklet from A4 document vLatest
' data-max-file-size='50000'> </div> makebooklet <div data-pym-src='https://itext.jdoodle.com/embed/itext' data-java-url
-
pdfRender: WEBP format support added
-uploads="3" data-max-file-size="5000000"> <div data-script-type="java">import com.itextpdf.licensekey.LicenseKey; import
-
Installing iText 7 pdfOffice for Java developers
this repository for the add-on .jar files. You can also browse the iText Artifactory server and download jars manually. 1. Add
-
Installing iText 7 pdfOptimizer for Java developers
for the add-on .jar files. You can also browse the iText Artifactory server and download jars manually. 1. Add repository to .pom project
-
Release iText 7.1.11
files now has a closer behavior to how a web browser would render the content. If you would like to maintain the previous behavior
-
Chapter 2: Defining styles with CSS
. Inline CSS When opened in a browser, there is no visible difference between the HTML file from the previous example
-
Interactive forms
? How to send a file to the server through a PDF? How to define the data encoding when submitting a PDF form using AcroForm
-
Why is my font not applied when I create a PDF document?
ignores my choice of font. I confirmed that the font isn't set using Adobe Reader's File > Properties > Fonts. The PDF shows
-
iText 7 jump-start tutorial : Chapter 3
-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size
-
pdfHTML: Using emojis in iText
. How it works When converting HTML files to PDF documents the process to include emojis is simple and straightforward; we need
-
Installing iText 7 pdfRender for Java developers
this repository for the add-on .jar files. You can also browse the iText Artifactory server
-
Adding links in a table cell
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
Flattening a form
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Rotate a barcode
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2
-
Drawing lines
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results
-
101 - a very simple table
-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Large tables
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class
-
List object in cell
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file
-
Page Labels
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div
-
Unembed a font
-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size
-
Creating a custom Type 3 font
='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class='example
-
Open action
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
Renaming a field
' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example-resources'><a class='resource-file' href
-
Get information from a form
' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Resources</h2> <div class="example-resources
-
Raw images
-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class='example-Results'><div
-
Drawing a Grid
' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class='example-Results'><div><a class='result
-
Creating a simple PDF/UA document
='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2> <div class="example-Results"> <div><a class
-
Underline and strike-through in a cell
' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class='example-Results
-
.Color of a circle annotation vLatest
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class
-
.Renaming a field vLatest
' data-max-file-size='50000'> </div> <h2>Resources</h2><p></p><div class='example-resources'><a class='resource-file' href
-
.Write on previous page vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
.Rotate a barcode vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2
-
.Superimposing content from one PDF into another PDF vLatest
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div
-
.Creating Table of Contents using events vLatest
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class
-
.Custom Metadata entry vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2
-
.Drawing lines vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results
-
.Open action vLatest
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
.Page Labels vLatest
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div
-
pdfHTML: Header and Footer examples
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size
-
How to fix the orientation of a PDF page in order to scale it?
for the source file and one for the result) and set the event handler like this: PdfDocument srcDoc = new PdfDocument(new PdfReader
-
Write on previous page
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2
-
Superimposing content from one PDF into another PDF
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div
-
Creating Table of Contents using events
-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class
-
Color of a circle annotation
-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2><div class
-
Custom Metadata entry
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2
-
pdfOffice: Spreadsheet To PDF Support
are pleased to announce this has now been implemented. We have provided iText users a simple way to convert spreadsheet files to PDF
-
Installing iText 7 for Java
, whether you use a build automation tool, such as Maven, or you want to download the JAR files directly. If you require any extra help
-
Release iText 7.1.8
examples for creating and filling forms: Java Creating an XFDF file
-
Is it safe to remove XFA?
pre-filled on Acrobat Reader but not in Acrobat Pro. Other viewers like Ubuntu Document Viewer, present the file correctly. I
-
How to add JPEG images that are multi-stage filtered (DCTDecode and FlateDecode)?
Recently I am tasked with reducing the file sizes of PDF generated from blank office documents. The images are mostly blank
-
Which languages are supported in pdfHTML?
of the peace.html https://github.com/itext/i7js-examples/blob/develop/src/main/resources/htmlsamples/html/peace.html HTML file
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 2
-csharp-libs="itext7:latest.release" data-show-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size
-
Actions and annotations
How to add an In Reply To annotation? How to attach files to a PDF? How to rename named destinations in existing PDF files
-
Why do I get a BouncyCastle NoClassDefFoundError?
https://stackoverflow.com/users/3650927/wizclark99 When you look at the POM file for iText, you see the following dependencies
-
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
-
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 do I load a license key?
file. You'll need two things: A license key file. The correct version of the license key library. If you're using iText 7
-
Images that use different filters
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file
-
Tables to show keys and values
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Does my HTML have to be valid XML?
HTML file: <html> <head><title>Test incomplete HTML</title></head> <h1>Test <p>Hello World <p>Hello Universe <br> <img src="img
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 4
stored your credentials in the default section of your ~/.aws/credentials file and your region in the default section of your
-
Release pdfRender 1.0.4
allocation speed up PNG encoder by caching D3 / D4 processing if possible fully implement DecodeArray on Mask images Bugs Ensure file
-
Use cases
with an XML file that follows the Cross-Industry Invoice (CII) standard, which can be a great solution for automating the payment process
-
How to make sure a check box is printed?
When I click on File and Print, the check boxes don't show in the print preview, and also don't print. Why is that? I am new
-
How to remove text from a PDF?
: public void manipulatePdf(String dest) throws IOException { //Load the license file to use cleanup features
-
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
-
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
-
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
-
Can I change the page count by changing internal metadata?
https://itextpdf.com/product/itext_rups and take a look at the internal structure of a PDF. I have opened a file with two pages
-
Why does the function to concatenate / merge PDFs cause issues in some cases?
, File outputFile) throws DocumentException, IOException { Document document = new Document(); FileOutputStream outputStream = new
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 1
/credentials file and your region in the default section of your ~/.aws/config file. Otherwise, you'll have to adapt
-
Using iText 7 and AWS KMS to digitally sign a PDF document: Part 3
stored your credentials in the default section of your ~/.aws/credentials file and your region in the default section of your ~/.aws
-
pdfHTML: Processing of extremely long elements
" data-csharp-libs="itext7:latest.release" data-show-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size
-
Release iText 7.1.2
to 3.0.2. Some more good news! We're also releasing support for SVG files. SVG is an image format that is based on vectors, which
-
How do the measurement systems in HTML relate to the measurement system in PDF?
CSS files found in the wild, you will notice that many sizes are expressed in pixels. For instance: <img src="logo.img" style
-
Basic Concepts (Glossary)
or that serves as an official record. Portable Document Format: the Portable Document Format (PDF) is a file format for capturing and sen
-
Release iText 7.1.4
features: SVG without width or height, SvgConverter createPdf methods with File parameter, SVG path operators: H, V, h, v, and a pull
-
Why is content missing in my table?
= PdfWriter.getInstance(document, new FileOutputStream(new File(sourcePath, AppText.FILE_NAME))); PdfPTable table = new PdfPTable(6
-
How to fill XFA form using iText without breaking usage rights?
in append mode. Instead of reorganizing the original content, iText will now keep the original file intact and append new content
-
How to make an image a qualified mask candidate in itext?
https://github.com/itext/i7js-examples/blob/develop/src/main/java/com/itextpdf/samples/sandbox/images/MakeJpgMask.java example. In this e
-
How to add a printable or non-printable bitmap stamp to a PDF?
I would like to add a bitmap stamp to a PDF file, that would be either printable or non-printable depending on the actual
-
How to draw a line every 25 words?
and text positions once I have a finished PDF, but considering I'm writing the text to the PDF file, I guess there could
-
How to change the zoom factor in link annotations?
was redundant. You only need a PdfDocument instance. Take for instance the file xyz_destination.pdf
-
pdf2Data: Grouping of extracted values in XML
XML file, depending on their y coordinate related to the other data field coordinates. For now, the creation of this rule
-
Release pdfHTML 3.0.4
hundreds of children and occupying dozens of pages in the output file takes a few times less memory and computing resources for now
-
pdfOffice + iText Core Annotations Example
. In this example, we will demonstrate how a potential client may utilize pdfOffice + iText Core in order to convert a .docx file
-
pdfOffice + pdfSweep Redaction Example
. In this example, we will demonstrate how a potential client may utilize pdfOffice + pdfSweep in order to convert a .docx file
-
Chapter 4: Adding AbstractElement objects (part 1)
), record.get(1)))); File file = new File(String.format( "src/main/resources/img/%s.jpg", record.get(0))); if (file.exists
-
How to divide a page in N parts so we can fill each with a different source?
. In this example, I have 9 text files: liber1_1_la.txt
-
How to use a text extraction strategy after applying a location extraction strategy?
="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script-type="java"> protected class CustomFontFilter extends
-
Fix for when a link occupies more than two areas, a NullPointerException is thrown
" data-show-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script-type="java
-
Support for Beveled, Underline and Inset form field border styles
-uploads="3" data-max-file-size="5000000"> <div data-script-type="java">import com.itextpdf.forms.PdfAcroForm; import
-
Before we start: installing iText 7
the license-key module. In order to be able to download this JAR file, you'll need to add a repository to your repositories node
-
Is iText PDF a PDF viewer?
The iText SDK does not include a pdf viewer. Our SDK helps automate the generation and manipulation of pdf files. itext_7
-
Chapter 2: Adding content to a Canvas or a Document
with the Document class Figure 2.5 shows a text file with the full Jekyll and Hyde story: jekyll_hyde.txt
-
Cell borders (without cell or table events)
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> itext_7_suite
-
iText 7 Building Blocks - Util: Utilities for the building blocks examples
='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div
-
Why is my PDF missing several characters?
In spite of the abundance of documentation on how to use font files, and how to create documents with text in different
-
pdfOCR: Who provided TESS_DATA_DIRECTORY?
(standard model) and the tessdata_best https://github.com/tesseract-ocr/tessdata_best (slower, but higher accuracy) data files. After
-
Certificate encryption
' data-csharp-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file
-
Absolute positioning of lines and shapes
to a browser without storing a file on the server side? How to add a border to a PDF page? How to create a PDF with a Cartesian
-
ColumnText and the font ascender
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Centering text
' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> <h2>Results</h2
-
How to convert an ASP or JSP page to PDF?
responsibility to get the HTML from your choice of framework. If you have an ASP file, run it through your ASP framework to create
-
.ColumnText and the font ascender vLatest
-libs='itext7:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000
-
Logging mechanism
:latest.release' data-show-upload='false' data-hide-execute='true' data-max-uploads='2' data-max-file-size='50000'> </div> xml_worker
-
pdfOffice: Improved line space calculation
of the output PDF file. In pdfOffice 2.0.0 we have made the required improvements to calculate the correct amount of line spacing
-
Release iText 7.0.2
. You can upgrade by adjusting the version in your pom.xml or gradle file to 2.0.3 or by downloading the 2.0.3 version from our
-
Installing iText 7 Community for Java developers
) of iText 7 Community (ZIP files) from Maven Central https://mvnrepository.com/artifact/com.itextpdf: iText 7 Community
-
How to create and apply redactions?
the NSA / AT&T scandal. Suppose that you have a file to which you added some redaction annotations: page229_redacted.pdf
-
How to prevent the resizing of pages in PDF?
to have a PDF file that contains no differences between the actual size vs "fit to page" when printing. Posted on StackOverflow
-
How to increase the accuracy of measurements in iTextSharp?
: ByteBufferOutputStream.HIGH_PRECISION = true; That will cost you some performance (but maybe you'll hardly notice that) and the resultin
-
.How to create a PDF with a Cartesian grid? vLatest
(pdfDoc.addNewPage()); for (float x = 0; x Here we use pageSize variable to learn the width and the height of the PDF file and just
-
How to create a PDF with a Cartesian grid?
(pdfDoc.addNewPage()); for (float x = 0; x Here we use pageSize variable to learn the width and the height of the PDF file and just
-
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
-
pdfHTML: Creation and/or merging of outlines for documents
When we generate a PDF file from iText that contains outlines, clicking such outlines should redirect to the corresponding contents
-
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
-
Release pdfXFA 2.0.11
Release date: July 5, 2021 The pdfXFA 2.0.11 release contains a fix when handling XFA files which contain empty rich text
-
PDF and Digital Signatures
. Creating a digital signature for PDF In figure 1, we can see how the bytes are organized in a PDF file. Figure 1: Digital Signature
-
Chapter 4: Making a PDF interactive
agent."); pdf.close(); We introduce a new object in line 2. PdfReader is a class that allows iText to access a PDF file and read
-
Chapter 4: Making a PDF interactive | .NET
introduce a new object in line 2. 'PdfReader' is a class that allows iText to access a PDF file and read the different PDF objects
-
Chapter 3: Using renderers and event handlers
that the content was nicely organized on the page. We also created a Table object to publish the contents of a CSV file
-
Chapter 3: Using renderers and event handlers | .NET
that the content was nicely organized on the page. We also created a Table object to publish the contents of a CSV file
-
Release pdfRender 1.0.0
in various formats, on a laptop equipped with an Intel i5-8350U processor: Image format Time (seconds) File size (megabytes) JPEG
-
Image examples
filtered (DCTDecode and FlateDecode)? How to avoid an exception when importing a TIFF file? How to add text to an image? How
-
Page events
to a paragraph? How to introduce multiple PdfPageEventHelper instances? How to add a page number in the header of a PDF/A Level A file? H
-
What is the difference between getPageLabels and getPageLabelFormats?
most of the time, but occasionally this is NOT the case. I have an example. It's a 150Mb PDF file which appears to have 4670
-
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 can I read Roman page numbers?
that has pages numbered like this: Pages with page labels In the listPageLabels() method, we create a txt file with list of page
-
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
-
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
-
How to reuse a page from one PDF document into another PDF document?
on the file system as a PDF into a PDF that I'm creating on the fly. I tried to use the Image class, but it seems that it does
-
How to introduce a rowspan?
I am adding a table to a PDF file. I have 3 rows and 3 columns. I want the first column to appear only once as a single cell
-
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
-
How to calculate the height of an element?
I am generating PDF files from XML data. I calculate the height of a paragraph element like this: float paraWidth = 0.0f
-
Release pdfRender 1.0.2
formats. Previously, you could render PDF pages to JPG, PNG or other image file formats, but now BufferedImage as also supported
-
Scaling large HTML content to render onto smaller PDF page sizes
. This will cause the generated PDF file to have content that overlaps, or with content rendering off the page. The simplest solution
-
Release pdfHTML 4.0.2
, converting an HTML file which had an @font-face rule with an empty body would result in an NPE. Now, pdfHTML will simply ignore
-
Tables
a CSV file to a table with a repeating header row? How to right-align text in a PdfPCell? Published by Scroll Versions from
-
How to flatten a XFA PDF Form using pdfXFA
is stored as an XML file. The process of flattening an XFA form to an ordinary PDF requires that you parse the XML and convert
-
How to hyphenate text?
I generate a PDF file with iText in Java. My table columns have fixed widths. Text that is too long for one line is wrapped
-
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 show an image with large dimensions across multiple pages?
dimensions? I have an image with large dimensions which I need to display in a PDF file. I cant scale to fit the image
-
How to create a document with unequal page sizes?
want to create a PDF file that has unequal page sizes. I have these two rectangles: Rectangle one = new Rectangle(70,140
-
How to encrypt PDF using a certificate?
WriterProperties using a Certificate instance. The public certificate is stored in the file, that your end user extracted from the smart
-
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 draw lines on an image?
this: https://itextpdf.com/sites/default/files/gXkId.png Screen shots showing lines added to images in a PDF file As you can see, the sha
-
How can I find the border color of a field?
, and the value for Blue is 0. This is consistent with us setting the color to Color.RED when we created the file. You say that you have
-
How to flatten a XFA PDF Form using iTextSharp?
as an XML file. The process of flattening an XFA form to an ordinary PDF requires that you parse the XML and convert the XML syntax
-
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
-
Release pdfHTML 3.0.2
constructor with immediate flush disabled Bugs NPE on the empty letter-spacing declaration CSS files cannot be released after
-
Support for a symbol element in SVG
:1.7.28,com.itextpdf:pdfocr-tesseract4:latest.release" data-max-file-size="5000000" data-max-uploads="3" data-pym-src
-
pdfHTML: Support attr() function for content property
-show-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script-type="java
-
Blockchain for PDF Documents
https://www.youtube.com/watch?v=YqfoUYNvYDw. The patents were filed on December 22, 2016. They were already granted in Belgium
-
pdfHTML: Fixed Behavior for <input> Tags with Negative Numbers
-upload="false" data-hide-execute="true" data-max-uploads="3" data-max-file-size="5000000"> <div data-script-type="java">package
-
Release iText 7.1.5
-2422] : iText incorrectly validates signatures for doctored PDF files. [DEVSIX-2285] : ResourceResolver do not respect absolute
-
iText 7.1 - Migration guide for Java
Update the following dependencies in your project's pom.xml or build.gradle file: Change the version of the iText-core modules from
-
iText 7.1 - Migration guide for .NET
the following dependencies in your project files and packages.config: Change the version of the iText-core from 7.0.x to 7.1.0. Change
-
Installing iText 7 Community for .NET developers
ZIP file for .NET. Version iText 7 Community https://github.com/itext/itext7-dotnet/releases/latest. Developers can clone
-
Migration guide from iText 5 to iText 7
the POM file for our Java project https://github.com/itext/itext7/blob/develop/pom.xml. License key upgrade Several improvements
-
How to print mathematical characters like ?, ?, ?, ?, ? ?, ??
, \u2229, \u2211, \u222b, \u2206").setFont(font); doc.add(p); doc.close(); } The result looks like this: Symbols in a PDF file
-
How to add text at an absolute position on the top of the first page?
How can I add text automatically to the 1st page, instead of the last? I have a script that creates a PDF file and writes
-
Why do I get an error saying that "use of extended features is no longer available"?
the form in append mode. This will result in a bigger file size, but Reader enabling will be preserved. Please take a look
-
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
-
How to get the co-ordinates of an image?
: break; } } It uses the ImageRenderInfo object to obtain a PdfImageXObject instance and it creates an image file using
-
How to create Persian content in PDF?
have problem with UNICODE character showing in PDF file. There is a solution for this that it is not very efficient for me
-
How to change the text color of an AcroForm field?
form. In this case, the form is described twice inside the PDF file: once using an XML stream (XFA) and once using PDF syntax
-
How to create a clickable polygon or path?
https://raw.githubusercontent.com/itext/i5js-sandbox/master/cmpfiles/annotations/cmp_link_polygon.pdf, but be aware that while this will
-
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
-
How to add text as a header or footer?
writer = PdfWriter.getInstance(document, new FileOutputStream(file)); writer.setPageEvent(new MyFooter()); Posted on StackOverflow
-
Why is my cell event not triggered?
, twocm, twocm); PdfWriter.getInstance(doc, new FileOutputStream(new File("test.pdf"))); try { doc.open(); PdfPTable table = new
-
How to add an In Reply To annotation?
https://github.com/itext/i7js-examples/blob/develop/src/main/java/com/itextpdf/samples/sandbox/annotations/AddInReplyTo.java example. We
-
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
-
Installing iText 7 pdfOCR for .NET developers
https://github.com/itext/i7n-pdfocr. You can download the modules (.nupkg) of iText 7 pdfOCR in a single ZIP file for the .NET Version
-
Installing iText 7 pdfHTML for .NET developers
https://github.com/itext/i7n-pdfhtml. You can download the modules (.nupkg) of iText 7 pdfHTML in a single ZIP file for the.NET. Version
-
Installing iText 7 pdfSweep for .NET developers
https://github.com/itext/. You can download the modules (.nupkg) of iText 7 pdfSweep in a single ZIP file for the .NET. Version
-
Release pdf2Data 2.1.12
to use symbols in PDF that aren`t supported by the XML standard, so could cause exceptions or malformed output files creation
-
Chapter 5: Adding AbstractElement objects (part 2)
() method. No exception will be thrown when this happens, but you'll see the following message in your log files: WARN
-
How to use a Digital Signing Service (DSS) such as GlobalSign, with iText 7
-api:1.7.28,org.slf4j:slf4j-simple:1.7.28,com.itextpdf:pdfocr-tesseract4:latest.release" data-max-file-size="5000000" data-max
-
How to define the data encoding when submitting a PDF form using AcroForm technology?
found was a way to define non-Latin characters for check boxes, and some info about the encoding of an FDF file. None of which
-
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 generate 2D barcode as vector image?
at the barcode_placement.pdf https://raw.githubusercontent.com/itext/i5js-sandbox/master/cmpfiles/barcodes/cmp_barcode_placement.pdf file
-
Why isn't the Rupee symbol showing?
is a file named rupee.pdf https://raw.githubusercontent.com/itext/i5js-sandbox/master/cmpfiles/fonts/cmp_rupee.pdf: Rupee
-
How to merge documents correctly?
the following problem when printing the PDF file after merge, the PDF documents get cut off. Sometimes this happens because the documents
-
How can I add titles of chapters in ColumnText?
a PDF file that has both, bookmarks and a TOC: columns_with_toc.pdf
-
Why iText and Blockchain?
that are inherent to digital signatures in PDF. Based on our research, we filed a series of patents describing mechanisms
-
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
-
pdfCalligraph: Support wrapping at word boundaries for languages which don't use spaces for word separation
-file-size="5000000"> <div data-script-type="java">package WordWrapExample; import com.itextpdf.io.font.PdfEncodings; import
-
Core SVG: Added support of font-relative units for the font-size property of a text element
"/> </svg> Font size default behavior SVG test file: <?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg