Hello.
I wanted to ask you, whether Aspose has any functionality to manipulate the Guides, accessible through this button:
изображение.png (527 Bytes)
in terms of adding, removing, moving, changing the colors of the Guides?
Thanks in advance.
Hello.
I wanted to ask you, whether Aspose has any functionality to manipulate the Guides, accessible through this button:
изображение.png (527 Bytes)
in terms of adding, removing, moving, changing the colors of the Guides?
Thanks in advance.
@GeorgiyS,
Thank you for contacting support. I am working on your question and will get back to you soon.
@GeorgiyS,
Thank you for your patience. Unfortunately, I couldn’t find the functionality you need in Aspose.Slides.
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): SLIDESNET-44647
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.
@GeorgiyS,
In Aspose.Slides for .NET 24.11, the GridSpacing property will be added to the IViewProperties interface. It allows you to customize the spacing of the grid lines in the background of your document. The following sample code shows how to set the grid spacing to 72 points (1 inch):
using var presentation = new Presentation();
presentation.ViewProperties.GridSpacing = 72f;
presentation.Save("GridSpacing_out.pptx", SaveFormat.Pptx);
Also, the DrawingGuides property will be added to the ICommonSlideViewProperties interface. Using this property you can add or change the adjustable drawing guides. The following sample code shows how to add the new vertical and horizontal drawing guides in a PowerPoint presentation:
using var presentation = new Presentation();
var slideSize = presentation.SlideSize.Size;
var guides = presentation.ViewProperties.SlideViewProperties.DrawingGuides;
// Adding the new vertical drawing guide to the right of the slide center
guides.Add(Orientation.Vertical, slideSize.Width / 2 + 12.5f);
// Adding the new horizontal drawing guide below the slide center
guides.Add(Orientation.Horizontal, slideSize.Height / 2 + 12.5f);
presentation.Save("DrawingGuides_out.pptx", SaveFormat.Pptx);