Related
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
r4j Soon I want to use text that draws a specific rectangle , iTextwhich can be selected in the PDF editor tool . Here is my attempt: Document document = new Document();
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(FILE_RESULT));
r4j Soon I want to use text that draws a specific rectangle , iTextwhich can be selected in the PDF editor tool . Here is my attempt: Document document = new Document();
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(FILE_RESULT));
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
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
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
username I need to create a PDF document using Java's iText library. I also need to include some checkboxes that enable/disable based on the value of some class variable. I've found some examples for interactive forms, but I don't need that complexity: just ad
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
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
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, just like I want to draw a name on the pdfCanvas? I tried some examples of draw
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
Kartik Agarwal I am making a project in JAVA using iText. Now on one stage I want to add color to the canvas, I tried to follow the code below but they don't work PdfContentByte canvas = pdf.getDirectContent();
Rectangle rect = new Rectangle(12,12,583,8
Can I ask you a question I can sign the pdf file and verify it by adding smith.crt to make it trusted in Adobe Reader (I get green check mark), my problem is in certifying my pdf file , I can't get the blue ribbon pdf in my top left corner, is it because I use
Can I ask you a question I can sign the pdf file and verify it by adding smith.crt to make it trusted in Adobe Reader (I get green check mark), my problem is in certifying my pdf file , I can't get the blue ribbon pdf in my top left corner, is it because I use
Daniel Rodriguez: I have a function written using iText v5 and I'm trying to update it to use iText v7. The function checks if the document claims to be PDF/A (I know iText is not a PDF/A Validatior, I just need to know if it claims PDF/A). The implementation
Daniel Rodriguez: I have a function written using iText v5 and I'm trying to update it to use iText v7. The function checks if the document claims to be PDF/A (I know iText is not a PDF/A Validatior, I just need to know if it claims PDF/A). The implementation
cro I've been working on the digital signature feature for a few days now and everything is working fine, now it's time to try printing stamps on all pages, but I'm not doing it well. Try to provide a quick resume showing what the stamp does, i.e. create a Pdf
Manuel I digitally signed a PDF-A1a document using IText 7.15.0. In addition to the digital signature, I also added a visual representation (image) to the document. PdfSignatureAppearance appearance = signer.GetSignatureAppearance();
appearance.SetPageNumber(1
exile I tried adapting the standard code from the itext example and printing some other unicode symbols. Although the font used supports these characters, I don't get any results. (the last character "\u2609" is not printed as pdf) Thanks in advance! /*
exile I tried adapting the standard code from the itext example and printing some other unicode symbols. Although the font used supports these characters, I don't get any results. (the last character "\u2609" is not printed as pdf) Thanks in advance! /*
Technical staff I want to set a new page size for an existing PDF document without cropping the content. I'm writing the following code, but it just crops my PDF file from the bottom, causing the content to be lost. The current size is 8.26" X 11.69", I need t
Manuel I digitally signed a PDF-A1a document using IText 7.15.0. In addition to the digital signature, I also added a visual representation (image) to the document. PdfSignatureAppearance appearance = signer.GetSignatureAppearance();
appearance.SetPageNumber(1