DrawingGuides
IMasterSlide.DrawingGuides property
Returns a collection of drawing guides for the master slide. Read-only IDrawingGuidesCollection
public IDrawingGuidesCollection DrawingGuides { get; }
Examples
[C#]
using (Presentation pres = new Presentation())
{
var slideSize = pres.SlideSize.Size;
IDrawingGuidesCollection guides = pres.Masters[0].DrawingGuides;
// Adding the new vertical drawing guide to the right of the slide center
guides.Add(Orientation.Vertical, slideSize.Width / 2 + 20f);
pres.Save("MasterSlideDrawingGuides_out.pptx", SaveFormat.Pptx);
}
See Also
- interface IDrawingGuidesCollection
- interface IMasterSlide
- namespace Aspose.Slides
- assembly Aspose.Slides