Re: [iText-questions] Button in PDF Form

2009-06-17 Thread Sawan Jain
Hi, replacePushbuttonField() method works for me. I was successfully able to modify style and properties of buttons. Thank you very much for your precious comments. Regards, Sawan -- Crystal Reports - New Free

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread 1T3XT info
Sawan Jain wrote: > Also I’m able to apply the style on other controls like textboxes, so > why not on buttons? Because buttons are different. Have you tried replacePushbuttonField? http://1t3xt.be/?X4b http://1t3xt.be/?X0d -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ -

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Paulo Soares
Subject: Re: [iText-questions] Button in PDF Form > > Hi, > > > > How to determine that the form is XFA forms. I'm able to > modify the style of buttons using Adobe Profession 6.0. > > Also I'm able to apply the style on other controls like > textb

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread 1T3XT info
Sawan Jain wrote: > Hi, > > The form which I’m using is AcroForm. > Type of button is Push button. But when I tried to do GetFields, it > returned empty string. > pdfForm.GetFieldType("Save"); // Returning 1 means its a Push button > string abc = pdfForm.GetField("Save"); // Returning empty stri

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Bruno Lowagie
Sawan Jain wrote: > Hi, > > The form which I’m using is AcroForm. > > Type of button is Push button. But when I tried to do GetFields, it > returned empty string. > > pdfForm.GetFieldType("Save"); // Returning 1 means its a Push button > string abc = pdfForm.GetField("Save"); // Returning empt

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Sawan Jain
Hi, The form which I'm using is AcroForm. Type of button is Push button. But when I tried to do GetFields, it returned empty string. pdfForm.GetFieldType("Save"); // Returning 1 means its a Push button string abc = pdfForm.GetField("Save"); // Returning empty string. Regards, Sa

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Sawan Jain
Hi, How to determine that the form is XFA forms. I'm able to modify the style of buttons using Adobe Profession 6.0. Also I'm able to apply the style on other controls like textboxes, so why not on buttons? Regards, Sawan --

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread 1T3XT info
Sawan Jain wrote: > Hi, > > The example which you have provided that works fine for me, but my PDF > form is already having some buttons on it, AcroForm or XFA style buttons? Because if you have an XFA form, it won't work! -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http:/

Re: [iText-questions] Button in PDF Form

2009-06-16 Thread Sawan Jain
Hi, The example which you have provided that works fine for me, but my PDF form is already having some buttons on it, which were added using Adobe Profession 6.0. I want to change the style of buttons which are already exist in PDF. Below is the sample code which I'm trying to make it work

Re: [iText-questions] Button in PDF Form

2009-06-15 Thread Bruno Lowagie
Sawan Jain wrote: > Hi, > > I have a PDF form, with couple of controls like: textboxes, buttons and > checkboxes. > > Problem I'm facing is, I'm not able to change the color and font of > these controls Isn't that straight forward? Did you look at the examples? http://1t3xt.be/?X19 Did you r

[iText-questions] Button in PDF Form

2009-06-15 Thread Sawan Jain
Hi, I have a PDF form, with couple of controls like: textboxes, buttons and checkboxes. Problem I'm facing is, I'm not able to change the color and font of these controls using itextsharp. I'm using C# version. Thanks in Advance. Regards, Sawan