Questions tagged [iText] (1)

1
answer

IText7 htmlpdf why don't I see Cyrillic?

All of health. There is a need to work with iText, convert a table from a html document into pdf. The basis is the example from the developers, in General, everything is OK, but Cyrillic stubbornly not displayed on the page. Html lang ="ru" charset="utf-8", in SetLang(new PdfString("EN-us")) by default stood en-US, the desc...
Delilah.Hirt asked April 19th 20 at 12:09
1
answer

How Acrobat determines the encoding type of the font?

Value types meet Identity-H, Custom, Build-In, Ansi , and others. This calculated value for some characteristics, or it is specified in the PDF file? Want to get this value in your code.
Camren_Bernier asked March 29th 20 at 20:01
1
answer

How can I convert a CSV file into a table with a repeating header row?

I create a PDF file from CSV using iText. I need to format the file so that the header row (in the top of each page) had a different font and color. Want to warn you that I know how to set the style/size/color. I can't find how to do this for the header row of my table.
albert asked March 24th 20 at 11:20
2
answers

How to divide a page into N parts and each of them to fill from different sources?

The first half of the page will be in English and second in French: In the future, you may need a third language. The maximum is three parts. Now on each page should be two blocks. How to achieve this using iTextPDF in Java?
rusty_Senger56 asked March 24th 20 at 11:18
1
answer

What types of images supports iText?

I want to add PNG image into a PDF file, but I know that PDF does not support PNG files. Does this mean that I can't use PNG files in iText?
mekhi.Mohr asked March 24th 20 at 11:08
1
answer

How to use the image as a symbol list?

I know SetListSymbol (from the library ITextSharp) uses a string as a parameter, is it possible instead to use an image/icon? If so, how?
leonor_Bruen asked March 24th 20 at 10:09
1
answer

How to create a two-dimensional barcode as a vector image?

I create a two-dimensional bar code using the APIs of iText, but they fall into a PDF document as a raster image and while printing on printers with low resolution barcode quality is reduced. As a result, not possible to scan these barcodes. Here is our code:BarcodePDF417 pdf417 = new BarcodePDF417(); String text = "Barcode...
lafayette63 asked March 24th 20 at 09:58
1
answer

How to turn a background image into a watermark by changing the transparency?

I want to make a background image transparent using iText. Here's the image code:string root = Server.MapPath("~"); string parent = Path.GetDirectoryName(root); string grandParent = Path.GetDirectoryName(parent); string imageFilePath = parent + "/Images/logo.png"; iTextSharp.text.Image jpg = iTextSharp.text.Image.GetInstanc...
Pinkie_Bins asked March 24th 20 at 09:58
1
answer

How to add a map with a pointer in the PDF file?

Question. I am using Java and iText to create a PDF file. Is it possible to add a map with a pointer to let the user know where is the original point?
merle20 asked March 23rd 20 at 18:51
1
answer

Why not apply the font when creating the PDF document?

Question. I create PDF-documents using iText. When I try to include the font "Agenda Tabular Light", iText ignores my choice. You can verify this under File > Properties > Fonts in Adobe Reader. The PDF file shows that you are using the Helvetica font, although this font is selected. The displayed color but not the fo...
Adella_Bernier asked March 23rd 20 at 18:50