How to change a page's BackPage?

Using Aspose.Diagram 23.6.0.

I tried following Change Background of VSDX File via .NET | products.aspose.com to change the backpage. Only difference is my file already have backpages so I didn’t create one. The default background for pages 1-3 is “Border” and when try to change BackPage, nothing is changed and is still set to the default.

Code Snippet:

Diagram diagram = new Diagram(WorkingDirectory + "/Diagram1.vsdx");

Page secondPage = diagram.Pages.GetPage("SECOND");
secondPage.BackPage = diagram.Pages.GetPage("Background-2");        

Page thirdPage = diagram.Pages.GetPage("THIRD");
thirdPage.BackPage = diagram.Pages.GetPage("Background-3");

diagram.Save(WorkingDirectory + "/Output.vsdx", SaveFileFormat.Vsdx);

Diagram Used:
Diagram1.zip (178.8 KB)

@ger.vue
Thanks for providing us the sample file and code.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DIAGRAMNET-53170

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as DIAGRAMNET-53170) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou