DrawingGuides
IMasterNotesSlide.DrawingGuides property
Returns a collection of drawing guides for the master notes slide. Read-only IDrawingGuidesCollection
public IDrawingGuidesCollection DrawingGuides { get; }
Examples
[C#]
using (Presentation pres = new Presentation())
{
var notesSize = pres.NotesSize.Size;
IDrawingGuidesCollection guides = pres.MasterNotesSlideManager.SetDefaultMasterNotesSlide().DrawingGuides;
// Adding the new horizontal drawing guide below the slide center
guides.Add(Orientation.Horizontal, notesSize.Height / 2 + 50f);
pres.Save("MasterNotesDrawingGuides_out.pptx", SaveFormat.Pptx);
}
See Also
- interface IDrawingGuidesCollection
- interface IMasterNotesSlide
- namespace Aspose.Slides
- assembly Aspose.Slides