Hello sir,

 1 more problem about the Textfield that
  How can I get the textfield backgroudcolor, Border style, Border Color,
Border width and textColor?

  thanks & regards,


On Wed, Sep 14, 2011 at 4:34 AM, Khatri Anand <[email protected]>wrote:

> Hello sir,
>
>  Now I use following line of code...
>
>                 PdfObject da = itemDict.get(PdfName.*DA*);
>        *  *StringTokenizer st =* new* StringTokenizer(da.toString(), " ");
>        *  *String fontRef = st.nextToken();
>        *  *PdfName fontRefName =* new* PdfName(PdfName.*decodeName*
> (fontRef));
>        *  *PdfDictionary font = (PdfDictionary) DR.get(PdfName.*FONT*);
>         * *PRIndirectReference fontIndRef = (PRIndirectReference) font.get
> (fontRefName);
>         * * BaseFont baseFont = BaseFont.*createFont*(fontIndRef);
>
>
> But I can't get the output...
> so please sir point me out that where I am wrong in above code.....
>
>
> Thanks & regards,
>
>
> On Wed, Sep 14, 2011 at 4:03 AM, Khatri Anand <[email protected]>wrote:
>
>> Thank you very much sir....
>>
>>
>> On Wed, Sep 14, 2011 at 3:56 AM, Leonard Rosenthol <[email protected]>wrote:
>>
>>> ISO 32000-1:2008, 12.7.2, Table 218.
>>>
>>> From: Khatri Anand <[email protected]>
>>> Reply-To: Post here <[email protected]>
>>> Date: Wed, 14 Sep 2011 03:44:43 -0700
>>>
>>> To: Post here <[email protected]>
>>> Subject: Re: [iText-questions] TextField Font
>>>
>>> Sorry I can not understand
>>>
>>>  what do you mean by DR?
>>>
>>> Thanks & Regards
>>>
>>> On Wed, Sep 14, 2011 at 3:36 AM, Leonard Rosenthol 
>>> <[email protected]>wrote:
>>>
>>>> DR for Default Resources.
>>>>
>>>> From: Khatri Anand <[email protected]>
>>>> Reply-To: Post here <[email protected]>
>>>> Date: Wed, 14 Sep 2011 00:18:09 -0700
>>>> To: Post here <[email protected]>
>>>> Subject: [iText-questions] TextField Font
>>>>
>>>> Hello sir,
>>>>
>>>>  I got the TextField Fontreference name by following line of code
>>>>
>>>>                         PdfObject da = dict.get(PdfName.DA);
>>>>                         System.out.println("object  "+da);
>>>>                         StringTokenizer st = new
>>>> StringTokenizer(da.toString(), " ");
>>>>                         String fontRef = st.nextToken();
>>>>
>>>>                         PdfName fontRefName = new
>>>> PdfName(PdfName.decodeName(fontRef));
>>>>
>>>> I got /Cour as a output...
>>>>
>>>> by this I got the Font reference so how can I get the Font name?
>>>> e.g. /Cour I get COURIER
>>>>
>>>>
>>>> Thanks & regards
>>>> --
>>>> *Anand Khatri*
>>>> Software Developer
>>>>
>>>> ZEITECH Solutions,
>>>> Ahmedabad.
>>>> Ph  : *+91 8000008071**
>>>> <http://www.intecllc.com/>*
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
>>>> Learn about the latest advances in developing for the
>>>> BlackBerry&reg; mobile platform with sessions, labs & more.
>>>> See new tools and technologies. Register for BlackBerry&reg; DevCon
>>>> today!
>>>> http://p.sf.net/sfu/rim-devcon-copy1
>>>> _______________________________________________
>>>> iText-questions mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>>
>>>> iText(R) is a registered trademark of 1T3XT BVBA.
>>>> Many questions posted to this list can (and will) be answered with a
>>>> reference to the iText book: http://www.itextpdf.com/book/
>>>> Please check the keywords list before you ask for examples:
>>>> http://itextpdf.com/themes/keywords.php
>>>>
>>>
>>>
>>>
>>> --
>>> *Anand Khatri*
>>> Software Developer
>>>
>>> ZEITECH Solutions,
>>> Ahmedabad.
>>> Ph  : *+91 8000008071**
>>>  <http://www.intecllc.com/>*
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
>>> Learn about the latest advances in developing for the
>>> BlackBerry&reg; mobile platform with sessions, labs & more.
>>> See new tools and technologies. Register for BlackBerry&reg; DevCon
>>> today!
>>> http://p.sf.net/sfu/rim-devcon-copy1
>>> _______________________________________________
>>> iText-questions mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>
>>> iText(R) is a registered trademark of 1T3XT BVBA.
>>> Many questions posted to this list can (and will) be answered with a
>>> reference to the iText book: http://www.itextpdf.com/book/
>>> Please check the keywords list before you ask for examples:
>>> http://itextpdf.com/themes/keywords.php
>>>
>>
>>
>>
>> --
>> *Anand Khatri*
>> Software Developer
>>
>> ZEITECH Solutions,
>> Ahmedabad.
>> Ph  : *+91 8000008071**
>>  <http://www.intecllc.com/>*
>>
>>
>>
>
>
> --
> *Anand Khatri*
> Software Developer
>
> ZEITECH Solutions,
> Ahmedabad.
> Ph  : *+91 8000008071**
> <http://www.intecllc.com/>*
>
>
>


-- 
*Anand Khatri*
Software Developer

ZEITECH Solutions,
Ahmedabad.
Ph  : *+91 8000008071**
<http://www.intecllc.com/>*
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to