Accessing individual shapes inside SmartArt or Chart

R

RAHUL

Hi All,

I want to access the individual shapes inside the smart art and save
them as images (gif/png).
I could use the shape.Export (even though its undocumented) method on
the whole smartArt object. but when I try to do the following, it
gives me an error in shape1.Export call saying "Runtime error 80048240
Shape (unknown member): Invalid request

For x = 1 To smartArtShape.GroupItems.Count
Set shape1 = .GroupItems.Item(x)
shape1.Export strName, ppShapeFormatGIF, 100, 100
Next x

Is there a way to get the images of individual shapes inside smartArt
object. I want to get them because I want to simulate the "one by one"
animation applied on the smart art using some other technology.

I also want to get the images of individual shapes (Cylinders, cones,
etc.) inside a Chart object, but I could not find any information on
that too.
Any help is greatly appreciated.

Thanks in advance
 
J

Jim Cone

You have a response in your identical post in public.office.developer.vba.




"RAHUL" <[email protected]>
wrote in message
Hi All,
I want to access the individual shapes inside the smart art and save
them as images (gif/png).
I could use the shape.Export (even though its undocumented) method on
the whole smartArt object. but when I try to do the following, it
gives me an error in shape1.Export call saying "Runtime error 80048240
Shape (unknown member): Invalid request

For x = 1 To smartArtShape.GroupItems.Count
Set shape1 = .GroupItems.Item(x)
shape1.Export strName, ppShapeFormatGIF, 100, 100
Next x

Is there a way to get the images of individual shapes inside smartArt
object. I want to get them because I want to simulate the "one by one"
animation applied on the smart art using some other technology.

I also want to get the images of individual shapes (Cylinders, cones,
etc.) inside a Chart object, but I could not find any information on
that too.
Any help is greatly appreciated.

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top