Related
User 123456 I am implementing a pdf editing application using itextpdf. I added a text to the pdf and used the canvas.drawPath() method to draw a name on the android system canvas like I want to draw a name on the pdfCanvas? I tried some examples of drawing cu
jimdrang : I'm trying to complete an example that draws a graph and writes it to a PDF, but I keep getting the error that the PDF has no pages. If I add something simple with document.add() after opening it works fine, I never see the graph. Here is my code: D
jimdrang : I'm trying to complete an example that draws a graph and writes it to a PDF, but I keep getting the error that the PDF has no pages. If I add something simple with document.add() after opening it works fine, I never see the graph. Here is my code: D
jimdrang : I'm trying to complete an example that draws a graph and writes it to a PDF, but I keep getting the error that the PDF has no pages. If I add something simple with document.add() after opening it works fine, I never see the graph. Here is my code: D
Milhous: Is it possible to draw rectangles in PDF documents in iText? Milhous: Here is the solution. Thanks Dylan McClung. PdfWriter writer = ...;
PdfContentByte cb = writer.getDirectContent();
cb.saveState();
cb.setColorStroke(Color.black);
cb.rectangle(x,y,x
Milhous: Is it possible to draw rectangles in PDF documents in iText? Milhous: Here is the solution. Thanks Dylan McClung. PdfWriter writer = ...;
PdfContentByte cb = writer.getDirectContent();
cb.saveState();
cb.setColorStroke(Color.black);
cb.rectangle(x,y,x
Milhous: Is it possible to draw rectangles in PDF documents in iText? Milhous: Here is the solution. Thanks Dylan McClung. PdfWriter writer = ...;
PdfContentByte cb = writer.getDirectContent();
cb.saveState();
cb.setColorStroke(Color.black);
cb.rectangle(x,y,x
Rogers I am trying to output some strings to PDF using Itext. Currently, I can print them to the document, but I want to draw/write them to a specific (x,y) in the document. How will I deal with it? Or are there any tutorials or resources that can help you? An
Sharma Vikram I am trying to draw rectangles on a pdf file. When I draw rectangles in pdf, the rectangles are not drawn correctly. I want to draw only one rectangle at a time, when I draw the new one, the old one should be deleted, but this is not happening. H
Sharma Vikram I am trying to draw rectangles on a pdf file. When I draw rectangles in pdf, the rectangles are not drawn correctly. I want to draw only one rectangle at a time, when I draw the new one, the old one should be deleted, but this is not happening. H
Sharma Vikram I am trying to draw rectangles on a pdf file. When I draw rectangles in pdf, the rectangles are not drawn correctly. I want to draw only one rectangle at a time, when I draw the new one, the old one should be deleted, but this is not happening. H
Sharma Vikram I am trying to draw rectangles on a pdf file. When I draw rectangles in pdf, the rectangles are not drawn correctly. I want to draw only one rectangle at a time, when I draw the new one, the old one should be deleted, but this is not happening. H
Sharma Vikram I am trying to draw rectangles on a pdf file. When I draw rectangles in pdf, the rectangles are not drawn correctly. I want to draw only one rectangle at a time, when I draw the new one, the old one should be deleted, but this is not happening. H
suushiemaniac: I am using the community version of itext7 (version 7.1.9) . I want to create a PDF document in which I insert paragraphs of text and horizontal separators like this: some interesting text
-----------
more interesting text
-----------
still inte
suushiemaniac: I am using the community version of itext7 (version 7.1.9) . I want to create a PDF document in which I insert paragraphs of text and horizontal separators like this: some interesting text
-----------
more interesting text
-----------
still inte
suushiemaniac: I am using the community version of itext7 (version 7.1.9) . I want to create a PDF document in which I insert paragraphs of text and horizontal separators like this: some interesting text
-----------
more interesting text
-----------
still inte
suushiemaniac: I am using the community version of itext7 (version 7.1.9) . I want to create a PDF document in which I insert paragraphs of text and horizontal separators like this: some interesting text
-----------
more interesting text
-----------
still inte
suushiemaniac: I am using the community version of itext7 (version 7.1.9) . I want to create a PDF document in which I insert paragraphs of text and horizontal separators like this: some interesting text
-----------
more interesting text
-----------
still inte
suushiemaniac: I am using the community version of itext7 (version 7.1.9) . I want to create a PDF document in which I insert paragraphs of text and horizontal separators like this: some interesting text
-----------
more interesting text
-----------
still inte
RealHowTo: I have a simple HTML page from which iText can generate a PDF. Great, but the checkbox is ignored. what should I do? import java.io.FileOutputStream;
import java.io.StringReader;
import com.itextpdf.text.Document;
import com.itextpdf.text.PageSize;
alexyz78: I would at least check if the documentation claims it is PDF/A compliant. How to do this with iText? Tag memory: what. The PDF/A spec contains the answer (which won't do well unless someone pays to get it). You can dig the same information from iText
Memory leak: Now, I use iText to automatically generate pdf. My problem is that when the content is very large, I need to calculate the height and width of the content and then add a new page... which is really inconvenient. So I wonder if there is such a meth
Allegiance: I'm using iText to watermark a PDF file (text: "SuperEasy You Done") as described in How to watermark a PDF with text or image ? ( TransparentWatermark2.java ). Check out the project source code on GitHub . Right now, an example of the PDF I get is
Andre Nobili I have the following situation and I have a method: ByteArrayInputStream fis = new ByteArrayInputStream(Bean.getValoreString("PDFmulti", "PDF").getBytes());
As you can see FIS varialbe is ByteArrayInputStream and Bean.getValoreString("PDFmulti",
alexyz78: I would at least check if the documentation claims it is PDF/A compliant. How to do this with iText? Tag memory: what. The PDF/A spec contains the answer (which won't do well unless someone pays to get it). You can dig the same information from iText
Memory leak: Now, I use iText to automatically generate pdf. My problem is that when the content is very large, I need to calculate the height and width of the content and then add a new page... which is really inconvenient. So I wonder if there is such a meth
joy 8 I am trying to use iText 7 and iText7.pdfHtml library to generate PDF and write it to HTTP response. The HTML content of the PDF is stored in an StringBuilderobject. Not sure what the correct procedure is to do this, because once used HtmlConverter.Conve
RealHowTo: I have a simple HTML page from which iText can generate a PDF. Great, but the checkbox is ignored. what should I do? import java.io.FileOutputStream;
import java.io.StringReader;
import com.itextpdf.text.Document;
import com.itextpdf.text.PageSize;
Allegiance: I'm using iText to watermark a PDF file (text: "SuperEasy You Done") as described in How to watermark a PDF with text or image ? ( TransparentWatermark2.java ). Check out the project source code on GitHub . Right now, an example of the PDF I get is