MasterHandoutSlide

Inheritance: java.lang.Object, com.aspose.slides.BaseSlide

All Implemented Interfaces: com.aspose.slides.IMasterHandoutSlide

public class MasterHandoutSlide extends BaseSlide implements IMasterHandoutSlide

Represents master slide for handouts.

Methods

MethodDescription
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 handout slide.
getThemeManager()Returns the theme manager.
getDrawingGuides()Returns a collection of drawing guides for the master handout 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:

ParameterTypeDescription
valueboolean

getHeaderFooterManager()

public final IMasterHandoutSlideHeaderFooterManager getHeaderFooterManager()

Returns HeaderFooter manager of the master handout slide. Read-only IMasterHandoutSlideHeaderFooterManager.

Returns: IMasterHandoutSlideHeaderFooterManager

getThemeManager()

public final IMasterThemeManager getThemeManager()

Returns the theme manager. Read-only IMasterThemeManager.

Returns: IMasterThemeManager

getDrawingGuides()

public final IDrawingGuidesCollection getDrawingGuides()

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


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

     IDrawingGuidesCollection guides = pres.getMasterHandoutSlideManager().setDefaultMasterHandoutSlide().getDrawingGuides();
     // Adding the new horizontal drawing guide above the slide center
     guides.add(Orientation.Horizontal, (float) notesSize.getHeight() / 2 - 50f);

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

Returns: IDrawingGuidesCollection