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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

127725 Dec 5,2016 10:00 AM Dec 8,2016 11:11 PM ASP.NET Core 3
loading
Tags: Presentation
Michael Smith
Asked On December 5, 2016 10:00 AM

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".

Result
---------------
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 04:05 AM

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. 

Thanks, 
Arun 


Michael Smith
Replied On December 8, 2016 05:54 AM

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 8, 2016 11:11 PM

Hi Michael, 

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

Thanks, 
Arun 


CONFIRMATION

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.

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.

;