How to Use Picture Bullet ????

Q

quicklearner

Hi,
I am into PowerPoint Automation,I am using bullet in my application they r
wrking fine but when i am using Picture Bullet the when i am running it with
my code then it dont show any bullet.
I have seen examples on msdn but they r giving path for the picture.But i
want to access the picture bullet of the powerpoint through mine coding,but i
am not able to do tht.If any one have got idea how to use picture bullet of
powerpoint,plz help me out.
I am doing automation for powerpoint 2002 & above.Right now i am doing mine
coding in the Visual basic.

Thanks
 
S

Shyam Pillai

Here is some sample code:
' -----------------
With ActiveWindow.Selection.TextRange.ParagraphFormat.Bullet
.Visible = msoTrue
.Picture ("I:\Under development\My Pictures\Images\bullet.jpg")
End With
' -----------------
 
Q

quicklearner

Thanks for reply.
Well, I have initially tested the thing that you suggested. I hardcoded the
path for the picture.
It works fine.
The actual case is that the user will put some picture bullets in the slide.
We are recreating the bulleted text. So we have to recreated those picture
bullets too. Now for this we need to first "get" the path of the picture and
then we can "set" the path for the picture bullet. My main problem is I
cannot find a way to get the path of the picture bullet. Can you help me in
how can I "get" the path of the picture(used as bullet by the user) so that I
can recreated bullets using the same picture.

Thanks.
 

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