[iText-questions] [SPAM] Re: ImageRenderInfo.getImage() return empty bytes

2013-07-12 Thread mkl
Ashish, ashish wrote > I am using ImageRenderInfo for parsing PDFs and getting ImageBytes but for > my perticular PDF file which has one big PNG image in it nothing else, the > ImageRenderInfo.getImage() gives nothing if I save the bytes as .png on > filesystem the image is all black. > > [...]

Re: [iText-questions] ImageRenderInfo.getImage() return empty bytes

2013-07-12 Thread ashish
2.pdf 1.pdf Thanks Paulo for you reply. I have attached the PDFs(1.pdf and 2.pdf) Each PDF only has one image in it nothing else. I am trying to get the image byte

[iText-questions] iTextSharp FdfWriter Status Message Changes

2013-07-12 Thread Potvin, Chet
Hello, A few months back, I submitted a code change (below) to the FdfWriter and PdfName classes. This code change set a Status dictionary in the FDF that would trigger a Javascript alert that I am using for AcroForm validation. This change was forwarded to your developers for consideration

Re: [iText-questions] ImageRenderInfo.getImage() return empty bytes

2013-07-12 Thread Paulo Soares
You'll have to provide the PDF. Paulo On Fri, Jul 12, 2013 at 1:03 AM, ashish wrote: > Hi, > > > I am using ImageRenderInfo for parsing PDFs and getting ImageBytes but for > my perticular PDF file which has one big PNG image in it nothing else, the > ImageRenderInfo.getImage() gives nothing if I

Re: [iText-questions] Setting Local Coordinate System + duplicating PdfTemplate

2013-07-12 Thread 1T3XT BVBA
On 12/07/2013 8:33, bolek lolek wrote: Now i want to duplicate it 4 times and place different shapes on each of them. The whole idea of using a PdfTemplate instance, is that you can reuse it. Why would you duplicate it??? --

[iText-questions] ImageRenderInfo.getImage() return empty bytes

2013-07-12 Thread ashish
Hi, I am using ImageRenderInfo for parsing PDFs and getting ImageBytes but for my perticular PDF file which has one big PNG image in it nothing else, the ImageRenderInfo.getImage() gives nothing if I save the bytes as .png on filesystem the image is all black. Here is the code. public void re

[iText-questions] Setting Local Coordinate System + duplicating PdfTemplate

2013-07-12 Thread bolek lolek
Hello, I have created PdfTemplate with some contour. Now i want to duplicate it 4 times and place different shapes on each of them. What I am trying now is: |PdfTemplate[] oRTA= new PdfTemplate[4]; for(int i=0; i<4; i++) { oRTA[i] = (PdfTemplate)oTemplate.GetDuplicate(false); } |

Re: [iText-questions] Font of the Add(paragraph) method

2013-07-12 Thread SALAZAR, DANTE
Thanks Raf Was perfect Now the whole document is printed in Time_Roman How can I do to change font type to Arial, for example? If I try this bf = BaseFont.CreateFont(BaseFont.Arial, BaseFont.CP1252, False) I receive an error 2013/7/12 Raf Hens > On 12/07/2013 7:04, SALAZAR, DANTE wrote

Re: [iText-questions] How to find the end dynamically growing PdfPTable

2013-07-12 Thread Harsha Kaundinya
Yes, thank u Alex. On Fri, Jul 12, 2013 at 1:35 PM, Alexis Pigeon wrote: > Hi Harsha, > > On 12 July 2013 08:00, Harsha Kaundinya wrote: > >> Hi all, >> >> I am using iText 5.4.0 and inexperienced in iText coding. >> > > iText 5.4.2 has be released a couple of months ago, you might want to > up

[iText-questions] AUTO: Daniel Lehtihet is out of the office (returning 2013-08-19)

2013-07-12 Thread Daniel Lehtihet
I am out of the office until 2013-08-19. Note: This is an automated response to your message "iText-questions Digest, Vol 86, Issue 15" sent on 2013-07-12 08:01:11. This is the only notification you will receive while this person is away. ---

Re: [iText-questions] HtmlPipelineContext methods not marked "virtual" in itextsharp.xmlworker

2013-07-12 Thread Raf Hens
On 10/07/2013 23:11, Matthew Schaad wrote: > So, I suppose I'm reporting two separate issues. But getting the > methods of HtmlPipelineContext marked "virtual" would take virtually no > effort and would at least get me un-stuck. Hi Matthew, I have created a development ticket about this. We'll

Re: [iText-questions] How to find the end dynamically growing PdfPTable

2013-07-12 Thread Alexis Pigeon
Hi Harsha, On 12 July 2013 08:00, Harsha Kaundinya wrote: > Hi all, > > I am using iText 5.4.0 and inexperienced in iText coding. > iText 5.4.2 has be released a couple of months ago, you might want to upgrade and get the latest version. > How can we write a String below a dynamically populat

Re: [iText-questions] Font of the Add(paragraph) method

2013-07-12 Thread Raf Hens
On 12/07/2013 7:04, SALAZAR, DANTE wrote: > How can I asign Time_Roman to the paragraph method? Font f = new Font(bf, 12); Paragraph p = new Paragraph("text", f); // Or: Paragraph p2 = new Paragraph(); p2.Font = f; p2.Add("text"); doc.Add(p); doc.Add(p2); Best regards, Raf Hens iText Software