How do I move a shape from one group to another ?
I tried this, but it does not work. The shape is removed from the source group, but it is not added to the destination group.
@zkormos
Thank you for your inquiry.
Please try this sample code to add shape first:
Shape shape = groupSource.Shapes.GetShape(1);
groupDestination.Shapes.Add(shape);
groupSource.Shapes.Remove(shape);
If you still have this issue, please create a standalone console application with the sample file, zip the project and post us, we will check it soon.
Thanks.
1 Like
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.