Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Embedded Image
denislagod
Actually I need copy image from one report to another.
What I do:
Iterator imagesIterator = ***.imagesIterator();
while (imagesIterator.hasNext()) {
EmbeddedImageHandle image = (EmbeddedImageHandle) imagesIterator.next();
int d = image.getData().length;
EmbeddedImage imageNew = StructureFactory.newEmbeddedImageFrom(image, designHandle.getModuleHandle());
designHandle.addImage(imageNew);
}
d- has size, do image is not empty;
But imageNew = null;
What is wrong?
Denis/
Find more posts tagged with
Comments
mwilliams
Why not put your image that you want to reuse in a library and pull the image from the library for each report?