LayoutSlide

LayoutSlide class

Represents a layout slide.

getDependingSlides

NameDescription
getDependingSlides ()Returns an array with all slides, which depend on this layout slide.

Returns: Slide


getHeaderFooterManager

NameDescription
getHeaderFooterManager ()Returns HeaderFooter manager of the layout slide. Read-only ILayoutSlideHeaderFooterManager.

Returns: LayoutSlideHeaderFooterManager


getLayoutType

NameDescription
getLayoutType ()Returns layout type of this layout slide. Read-only SlideLayoutType.

Returns: byte


getMasterSlide

NameDescription
getMasterSlide ()Returns or sets the master slide for a layout. Read/write IMasterSlide.

Returns: MasterSlide


getShowMasterShapes

NameDescription
getShowMasterShapes ()Specifies if shapes on the master slide should be shown on slides or not. Read/write boolean.

Returns: boolean


getThemeManager

NameDescription
getThemeManager ()Returns the overriding theme manager. Read-only IOverrideThemeManager.

Returns: SlideThemeManager, LayoutSlideThemeManager, ChartThemeManager, BaseOverrideThemeManager, NotesSlideThemeManager


hasDependingSlides

NameDescription
hasDependingSlides ()Returns true if there exists at least one slide that depends on this layout slide. Read-only boolean.

Returns: boolean


remove

NameDescription
remove ()Removes layout from presentation.

Returns: void

Exception

ErrorCondition
PptxEditExceptionThrown if layout is already removed from presentation or if layout is used in presentation (its HasDependingSlides property is true). To avoid throwing of the PptxEditException check layout’s HasDependingSlides property before.

setMasterSlide

NameDescription
setMasterSlide (MasterSlide)Returns or sets the master slide for a layout. Read/write IMasterSlide.

Returns: void


setShowMasterShapes

NameDescription
setShowMasterShapes (boolean)Specifies if shapes on the master slide should be shown on slides or not. Read/write boolean.

Returns: void