cancel
Showing results for 
Search instead for 
Did you mean: 

download node to excel with image (logo)

former_member637921
Participant
0 Kudos

Hello,

I've downloaded node to Excel file. Is it possible to add to the file an image?

thanks

Moshe

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

yes, if the lib you used to export is supporting that.

former_member637921
Participant
0 Kudos

could you please elaborate?

do you have an example?

Former Member
0 Kudos

Hi,

Can you try the following code ?

Image gif = Image.getInstance("myownpiclogo.GIF");
gif.setAlignment(Image.ALIGN_MIDDLE);
document.add(gif);

Regards,

Vijay.

former_member637921
Participant
0 Kudos

Hello Vijay.

I get an error for line Image.getInstance- method is undefined for the type Image

and also Image.ALIGN_MIDDLE- can not be resolved

Qualiture
Active Contributor
0 Kudos

Which Excel library are you using?