Hi,

Try PdfPushButton::GetFieldObject() to access the PdfObject behind the button 
(this method is inherited from PdfField). It will allow you to add custom 
keys.

Best regards,
        Dom

Am Montag 23 November 2009 schrieb Ihab Sultan:
> Hi,
> 
> 
> 
> is there a way to add an icon to a PdfPushButton? this implies setting TP
>  value for the push button to 1 (i.e. No caption;icon only), and adding an
>  image as the normal appearance of the button.
> 
> 
> 
> Although I know how to do it from PDF specifications, but PoDoFo doesn't
>  treat PdfPushButton as a normal pdfObject, so I can't add keys to its
>  dictionary. Would be great if there is a way to do it in PoDoFo.
> 
> 
> 
> Thank you.
> 
> 
> 
> ps. thanks Dom for the super fast response on my last question.
> 
> _________________________________________________________________
> Hotmail: Trusted email with powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/177141665/direct/01/
> 


-- 
**********************************************************************
Dominik Seichter - domseich...@web.de
KRename  - http://www.krename.net  - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game,  for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to