Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Wed Jun 06, 2018 10:49 am

Hello
Could you tell me how can I group this kind of shapes using code? (Shapes.png)
Here is my current code:
Code: Select all
        private void CenterLayout(RectangleF box)
        {
            var shape = shapeBuilder.CreateArrow(new RectangleF(box.Left + box.Width * 1/2,box.Top,1,box.Height));
            shape.Rotation = 180;

            var shape1 = shapeBuilder.CreateArrow(new RectangleF(box.Left + box.Width * 1/6, box.Top + box.Height * 1/3, box.Width * 1/3, box.Height * 2/3));
            shape1.Rotation = 180;

            var shape2 = shapeBuilder.CreateArrow(new RectangleF(box.Left + box.Width * 1/2, box.Top + box.Height * 1 / 3, box.Width * 1 / 3, box.Height * 2/3));
            shape2.Rotation = 235;

            shapeBuilder.CreateLine(new RectangleF(shape.Left - box.Width * 1 / 4, box.Top + box.Height, box.Width * 1 / 2, 1));

            textLabels = new List<IAutoShape>
            {
                shapeBuilder.CreateTextAbowLeftArrow(shape),
                shapeBuilder.CreateTextAbowLeftArrow(shape1),
                shapeBuilder.CreateTextAbowRightArrow(shape2)
            };
        }
Last edited by rokaf on Thu Jun 07, 2018 8:34 am, edited 1 time in total.

rokaf
 
Posts: 37
Joined: Thu May 10, 2018 9:30 am

Thu Jun 07, 2018 8:02 am

Dear rokaf,

Thanks for your inquiry.
Sorry that Spire.Presentation doesn't support grouping shapes at present. We will consider adding this new feature in our future upgrade. Once there is any good news, we will let you know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Thu Jun 07, 2018 8:34 am

Thank you

Betsy.jiang wrote:Dear rokaf,

Thanks for your inquiry.
Sorry that Spire.Presentation doesn't support grouping shapes at present. We will consider adding this new feature in our future upgrade. Once there is any good news, we will let you know.

Sincerely,
Betsy
E-iceblue support team

rokaf
 
Posts: 37
Joined: Thu May 10, 2018 9:30 am

Tue Jun 12, 2018 9:28 am

Please, let me know if you have any useful refinements.



Betsy.jiang wrote:Dear rokaf,

Thanks for your inquiry.
Sorry that Spire.Presentation doesn't support grouping shapes at present. We will consider adding this new feature in our future upgrade. Once there is any good news, we will let you know.

Sincerely,
Betsy
E-iceblue support team

rokaf
 
Posts: 37
Joined: Thu May 10, 2018 9:30 am

Tue Jun 12, 2018 9:47 am

Dear rokaf,

Sorry that there is no update at present. Our Dev team is investigating the issue, please spare us some time. We will let you know once there is any good news.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Jun 18, 2018 10:02 am

It still very important task, so let me know if you will have any news.

Betsy.jiang wrote:Dear rokaf,

Sorry that there is no update at present. Our Dev team is investigating the issue, please spare us some time. We will let you know once there is any good news.

Sincerely,
Betsy
E-iceblue support team

rokaf
 
Posts: 37
Joined: Thu May 10, 2018 9:30 am

Tue Jun 19, 2018 1:59 am

Hello,

Thank you for contacting us.
I am afraid your reported issue is still not resolved due to other prior issues. However, our dev team has already got some insight on your case after an initial investigation. Your patience will be greatly appreciated in this regard.
We will keep you informed about the progress.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu Jun 28, 2018 8:23 am

Dear rokaf,

Glad to inform you the new feature grouping shapes has been done, please download and use Spire.Presentation Pack Hotfix Version:3.6.9. Sample code:
Code: Select all
            ArrayList list = new ArrayList();
            list.Add(Shapes1);
            list.Add(Shapes2);
            list.Add(Shapes3);
            //group shapes
            ppt.Slides[0].GroupShapes(list);

Looking forward to your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Jul 02, 2018 7:51 am

Dear rokaf,

Greetings from E-iceblue.
Did you use the hotfix and the new feature? Has your issue been solved ?

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Jul 10, 2018 9:36 am

We are using Spire.Office NuGet Package, so it's very uncomfortable to use your Hotfix.
When do you plan to add this fix to your official release?

Betsy.jiang wrote:Dear rokaf,

Greetings from E-iceblue.
Did you use the hotfix and the new feature? Has your issue been solved ?

Sincerely,
Betsy
E-iceblue support team

rokaf
 
Posts: 37
Joined: Thu May 10, 2018 9:30 am

Tue Jul 10, 2018 9:43 am

Dear rokaf,

Thanks for your feedback.
We will include the fix in next hotfix of Spire.Office, once it is available, we will let you know immediately.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Tue Jul 10, 2018 1:36 pm

I mean release, not a hotfix.


Betsy.jiang wrote:Dear rokaf,

Thanks for your feedback.
We will include the fix in next hotfix of Spire.Office, once it is available, we will let you know immediately.

Sincerely,
Betsy
E-iceblue support team

rokaf
 
Posts: 37
Joined: Thu May 10, 2018 9:30 am

Wed Jul 11, 2018 2:17 am

Dear rokaf,

Thanks for your information.
There might be a misunderstanding. The release is a .msi file which includes many demos, the hotfix only includes dlls. On the NuGet, there is only dlls. Generally, when we say hotfix, it is an officially released version, not a temporary version or anything.
Anyway, we will also inform you when the release is published.

Sincerely,
Betsy
E-iceblue support team
Last edited by Betsy.jiang on Wed Jul 11, 2018 8:05 am, edited 1 time in total.
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Wed Jul 11, 2018 7:35 am

Thanks a lot.

Betsy.jiang wrote:Dear rokaf,

Thanks for your information.
There might be a misunderstanding. The release is a .msi file which includes many demo, the hotfix only includes dlls. On the NuGet, there is only dlls. Generally, when we say hotfix, it is a officially released version, not a temporary version or anything.
Anyway, we will also inform you when the release is published.

Sincerely,
Betsy
E-iceblue support team

rokaf
 
Posts: 37
Joined: Thu May 10, 2018 9:30 am

Tue Jul 17, 2018 6:25 am

Dear rokaf,

Glad to inform you we just released Spire.Office Platinum (DLL Only) Version:3.7.0 officially which includes the new feature. We have uploaded the hotfix on NuGet.
Looking forward to your feedback.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Presentation