How can I add an image in the header of a pdf file? (ZeroClipboardPdf)

How can I add an image in the header of a pdf file? (ZeroClipboardPdf)

FanisFanis Posts: 1Questions: 0Answers: 0
edited May 2015 in Free community support

Hello!

I want customize the header and footer of the pdf. I edited the file zeroClipboardpdf, but the image of the header can't be showed, because if I compile the file with code line, it gives a mistake

import mx.utils.Base64Decoder
it show the following message:

Error: Unable to resolve resource bundle "utils" for locale "en_US".
This is the clase for showing the image

if ( headerImage != "" )
    {
        var decoder:Base64Decoder = new Base64Decoder();
        decoder.decode(headerImage);
        var ba:ByteArray = decoder.toByteArray();
        pdf.addImageStream(ba,"DeviceRGB",null,0,0,
                     iPageWidth,35,0,1,"Normal",null);                          
    }

what can I do?

Thanks for your help!

This discussion has been closed.