Selection of elements - RibbonX

  • Thread starter Thread starter Tat
  • Start date Start date
T

Tat

I'm trying to get user selected items programatically in PowerPoint (C#
addin). How do i do that?

In the above I'm referring to buttons (in RibbonX) like AlignLeft and
AlignTop, they are un-selectable (grayed out) until the user selects some (in
the active slide) item, how would I go about duplicating this functionality.

cheers
tat
 
Sort of - I worked that out pretty quickly and implemented. This is probably
my bad for not being specific, but I was referring to the multiple objects
selectivity, i.e. user selected item(s).

My thinking is that it would be possible to access a list of elements maybe,
that exists somewhere, which would specify what objects have been selected.
The fuctionality i need to add is to for a user to be able to select multiple
objects and assign them the same width or same height. Essentially assign
multiple objects values of first selected object.

For example AlignTop and AlignLeft will set multiple objects to the same top
point or left point. I need to be able to make an object the same width or
height as a previously selected object (first selected).

cheers
tat
 
oh yes and to hassle you some more, how do you access the little golden thing
on top of any given shape programatically? not the rotation thing, the other
little diamond that controls like angle and other stuff. (as an example the
arrows have two little golden diamonds)

regards
tat
 
Back
Top