By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,345 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,345 IT Pros & Developers. It's quick & easy.

Microsoft Powerpoint AutoShape / object structure

P: n/a
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
Share this Question
Share on Google+
1 Reply

P: n/a
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.