470,593 Members | 2,459 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,593 developers. It's quick & easy.

Microsoft Powerpoint AutoShape / object structure

HI!

I have two expert questions:

1. Is it possible to add new (own) End Styles of arrows in the Format
AutoShape window (Colors and Lines) drop down box?

2. How is it possible to access the object structure in PowerPoint. I mean
by this accessing the objects that are created on the given slide. I would
like to identify the selected object, maybe check its category (arrow, text,
etc), take and pass it to my program. Then put the changed object back into
the slide instead of the selected object. Off course I will ensure the right
format. But what format is it?

I am all ears!
gicio

Jul 19 '05 #1
1 1675
Sahu,
1. Is it possible to add new (own) End Styles of arrows in the Format
AutoShape window (Colors and Lines) drop down box? No, it is not.
2. How is it possible to access the object structure in PowerPoint. The object model provides properties which can be queried. The Shape always
has a Type properties. Each specific Type of shape can be further queried
for properties like AutoShapeType, Placeholder etc. You will find VBA
examples on http://msdn.microsoft.com , www.mvps.org/skp, www.pptfaq.com
(programming section) to name a few.

e.g.
ActiveWindow.Selection.ShapeRange(1).Type gives you the type of shape that
is currently selected.
ActivePresentation.Slides(1).Shapes(1).Type gives you the type of the 1st
shape on the 1st Slide of the active presentation.

Regards
Shyam Pillai

"sahu" <fd@we.pl> wrote in message
news:ui**************@TK2MSFTNGP09.phx.gbl... HI!

I have two expert questions:

1. Is it possible to add new (own) End Styles of arrows in the Format
AutoShape window (Colors and Lines) drop down box?

2. How is it possible to access the object structure in PowerPoint. I mean
by this accessing the objects that are created on the given slide. I would
like to identify the selected object, maybe check its category (arrow, text, etc), take and pass it to my program. Then put the changed object back into the slide instead of the selected object. Off course I will ensure the right format. But what format is it?

I am all ears!
gicio

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Harry Bellafonte | last post: by
reply views Thread by Aleksandar Panov | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.