We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Unable to remove grouped Picture from Presentation - Defect in Presentation Library (ASP.NET Core Office Formats)

Thread ID:





127725 Dec 5,2016 03:00 PM UTC Dec 9,2016 04:11 AM UTC ASP.NET Core 3
Tags: Presentation
Michael Smith
Asked On December 5, 2016 03:00 PM UTC

Unable to remove grouped Picture from Presentation - Defect in Presentation Library (ASP.NET Core Office Formats)
To reproduce:
1) Build a presentation in PowerPoint such that you have a Picture object (say labeled "SomePicture) and some other control like a TextBox on a slide, then place them in in a grouping. Then add some other object like another TextBox and place the first group and that new object in a group (you effectively have the Picture "SomePicture" in a nested group.

2) Use Syncfusion ASP.NET Core presentation library to open the presentation for manipulation. Attempt to use the Slide.Pictures API or Slide.Shapes API to remove the Picture "SomePicture".

FAIL - Unable to locate the picture in the Slide.Pictures collection. Also, any attempt to remove it using Slide.Shapes also fails (even though it can be seen as listed).

Is this a known issue: Are there any workarounds for this?

Arun Prasad Matheshwaran [Syncfusion]
Replied On December 6, 2016 09:05 AM UTC

Hi Michael, 

Thank you for your interest in Syncfusion product. 
We checked the reported scenario - Unable to remove grouped Picture from PowerPoint presentation at our end. We can retrieve the shape collection of a group shape using the below statement, 
IShapes shapes = slide.GroupShapes[0].Shapes; 
Please find the sample created to show how to remove a picture from the group shape of a PowerPoint slide, 
Sample Link: 

Please review the sample and let us know if it could satisfy your requirement. 


Michael Smith
Replied On December 8, 2016 10:54 AM UTC

Thank you very much for your quick and accurate response.  The code example you provided uses the API to successfully resolve my issue/scenario.  I recommend this scenario and API usage be added to your documentation.

Arun Prasad Matheshwaran [Syncfusion]
Replied On December 9, 2016 04:11 AM UTC

Hi Michael, 

We are glad that your issue has been resolved. We will include this scenario and API details in our documentation. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon