chipbk10
chipbk10

Reputation: 5955

Assign label to Powerpoint Add-in Object

Can I assign a label to a specific Powerpoint Add-in object (prefer written in C# language)? For example, is it possible to add a button in the corner of each shape of a slide? Please take a look at the following figure:

enter image description here

As I understand, there are 2 cases.

1) The label is a Powerpoint shape. By this way, the label can be confused with other shapes. So, I don't like this approach very much.

2) The label could be a Windows.Forms.Button ???

In both case, when moving a specific shape, I want the label is always moving with the shape as well. I don't know whether Powerpoint Add-in feature can allow us assign a label to its shape or not?

Upvotes: 0

Views: 288

Answers (1)

TC Alper Tokcan
TC Alper Tokcan

Reputation: 369

You can create panels for this programmatically. Add a button and a label in that panel,set location where you want,set buttons events.

Upvotes: 1

Related Questions