IMasterNotesSlide

All Implemented Interfaces: com.aspose.slides.IBaseSlide, com.aspose.slides.IMasterThemeable

public interface IMasterNotesSlide extends IBaseSlide, IMasterThemeable

Represents master slide for notes.

Methods

MethodDescription
getHeaderFooterManager()Returns HeaderFooter manager of the master notes slide.
getNotesStyle()Returns the style of a notes text.
getDrawingGuides()Returns a collection of drawing guides for the master notes slide.

getHeaderFooterManager()

public abstract IMasterNotesSlideHeaderFooterManager getHeaderFooterManager()

Returns HeaderFooter manager of the master notes slide. Read-only IMasterNotesSlideHeaderFooterManager.

Returns: IMasterNotesSlideHeaderFooterManager

getNotesStyle()

public abstract ITextStyle getNotesStyle()

Returns the style of a notes text. Read-only ITextStyle.

Returns: ITextStyle

getDrawingGuides()

public abstract IDrawingGuidesCollection getDrawingGuides()

Returns a collection of drawing guides for the master notes slide. Read-only IDrawingGuidesCollection


Presentation pres = new Presentation();
 try {
     Dimension2D notesSize = pres.getNotesSize().getSize();

     IDrawingGuidesCollection guides = pres.getMasterNotesSlideManager().setDefaultMasterNotesSlide().getDrawingGuides();
     // Adding the new horizontal drawing guide below the slide center
     guides.add(Orientation.Horizontal, (float)notesSize.getHeight() / 2 + 50f);

     pres.save("MasterNotesDrawingGuides_out.pptx", SaveFormat.Pptx);
 } finally {
     if (pres != null) pres.dispose();
 }

Returns: IDrawingGuidesCollection