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