Hi Dominik,

works as a charm. Thanks for the hint!!

Best regards,

Patrik

Am 23.12.2009 11:57, schrieb Dominik Seichter:
> 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
>>
>


------------------------------------------------------------------------------
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

Reply via email to