Microsoft Powerpoint AutoShape / object structure

S

sahu

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
 
S

Shyam

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
 

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