Add images from a gallery Into a slide as a new Slide.

Add-in Express™ Support Service
That's what is more important than anything else

Add images from a gallery Into a slide as a new Slide.
 
Dileep Sankar




Posts: 85
Joined: 2009-02-20
Hello,
I created a Com-Add ins for PowerPoint 2007 using c#.net 2008 and Add-in Express .I created a Ribbon tab and inside this tab,i have one Ribbon gallery. Inside the ribbon gallery , I have 10 ribbon Tab items.The image of each Ribbon tab item linked to Image list images.The image list has 10 images .The Images all are .jpg format.Now The gallery shows the 10 images with Image list's image.No probelm. But i Want,
* if i select a particular image from gallery,That image should be inserted into a PowerPoint slide

Please give me the Code for this Purpuse,It is very Urgently.

Thanks
Dileep.
Posted 19 Mar, 2009 06:12:51 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Dileep,

Unfortunately there is no sample project.

To get assistance with host applications’ objects, their properties, and methods as well as help info, use the Object Browser. Go to the VBA environment (in the host application, choose menu Tools / Macro / Visual Basic Editor or just press Alt+F11), press F2, select the host application (also Office and MSForms) in the topmost combo and/or specify a search string in the search combo. Select a class/property/method and press F1 to get the help topic that relates to the object.
.NET, Extended MAPI, Windows Phone & RT
Posted 19 Mar, 2009 07:45:15 Top
Dileep Sankar




Posts: 85
Joined: 2009-02-20
I can't understand . Please give me more Details.
Thanks
Dileep.
Posted 20 Mar, 2009 07:31:43 Top
Dileep Sankar




Posts: 85
Joined: 2009-02-20
hello,
I can't understand .Please give me more clarriffucations.
Thanks
Dileep.
Posted 20 Mar, 2009 07:33:44 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Dileep,

What details do you need?

Please have a look at the following article.
.NET, Extended MAPI, Windows Phone & RT
Posted 20 Mar, 2009 07:50:41 Top
Dileep Sankar




Posts: 85
Joined: 2009-02-20
Hello,
The article reveals the details of insert images.But i want to know,
(1)If i select a particular ribbonitem(ribbonitem display image) in ribbongallery ,i want to retrieve the particular ribbonitem.image.

Thanks
Dileep
Posted 26 Mar, 2009 02:18:34 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Dileep,

You just need to handle the OnClick event of the Ribbon button and paste the appropriate image from the ImageList component to the slide.
.NET, Extended MAPI, Windows Phone & RT
Posted 26 Mar, 2009 06:31:42 Top
Dileep Sankar




Posts: 85
Joined: 2009-02-20
Hello Eugene,
If i add ribbon button to the gallery, I have one problem happened.The ribbon Button display Vertically One By One .Can i Set the Button as first row have 10 buttons and the Second row have again 10 buttons and so on up to 10 rows.Can I implement This.

Thanks
Dileep
Posted 27 Mar, 2009 02:19:06 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hello Dileep,

Please try using the Columns and Rows property of the AddinExpress.MSO.ADXRibbonGallery class.
.NET, Extended MAPI, Windows Phone & RT
Posted 27 Mar, 2009 08:24:09 Top
Dileep Sankar




Posts: 85
Joined: 2009-02-20
Hello Eugene,
I used the properties of rows and columns.But all buttons in one Column.
Posted 30 Mar, 2009 01:19:03 Top