MasterNotesSlide
Inheritance: java.lang.Object, com.aspose.slides.BaseSlide
All Implemented Interfaces: com.aspose.slides.IMasterNotesSlide
public class MasterNotesSlide extends BaseSlide implements IMasterNotesSlide
Represents master slide for notes.
Methods
| Method | Description |
|---|---|
| getShowMasterShapes() | Specifies if shapes on the master slide should be shown on slides or not. |
| setShowMasterShapes(boolean value) | Specifies if shapes on the master slide should be shown on slides or not. |
| getHeaderFooterManager() | Returns HeaderFooter manager of the master notes slide. |
| getThemeManager() | Returns the theme manager. |
| getNotesStyle() | Returns the style of a notes text. |
| getDrawingGuides() | Returns a collection of drawing guides for the master notes slide. |
getShowMasterShapes()
public boolean getShowMasterShapes()
Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Read/write boolean.
Returns: boolean
setShowMasterShapes(boolean value)
public void setShowMasterShapes(boolean value)
Specifies if shapes on the master slide should be shown on slides or not. For master slide itself this property always returns false. Read/write boolean.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
getHeaderFooterManager()
public final IMasterNotesSlideHeaderFooterManager getHeaderFooterManager()
Returns HeaderFooter manager of the master notes slide. Read-only IMasterHandoutSlideHeaderFooterManager.
Returns: IMasterNotesSlideHeaderFooterManager
getThemeManager()
public final IMasterThemeManager getThemeManager()
Returns the theme manager. Read-only IMasterThemeManager.
Returns: IMasterThemeManager
getNotesStyle()
public final ITextStyle getNotesStyle()
Returns the style of a notes text. Read-only ITextStyle.
Returns: ITextStyle
getDrawingGuides()
public final 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