Hi, I think you have to draw the image onto an PdfXObject using PdfPainter and use this is appearance stream. I do not think PdfImage can be used as appearance stream directly.
Best regards,
Dom
Am Dienstag 22 Dezember 2009 schrieb [email protected]:
> Hi,
>
> I have trouble using SetAppearanceStream.
>
> what I do:
>
>
> PoDoFo::PdfImage theLoadedImage(&m_PDFDoc);
> if
> (LoadImageForPDF(theLoadedImage, fileName, false))
>
> pAnnot1->SetAppearanceStream(&theLoadedImage);
>
> I see the "Click to activate...". But I don't see the image as appearance
> stream and get an error inside Acrobat Reader.
>
> Do I have to use another object as parent?
>
> Best regards,
>
> Patrik
>
--
**********************************************************************
Dominik Seichter - [email protected]
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
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
