LayoutSlide
LayoutSlide class
Represents a layout slide.
getDependingSlides
Name | Description |
---|---|
getDependingSlides () | Returns an array with all slides, which depend on this layout slide. |
Returns: Slide
getHeaderFooterManager
Name | Description |
---|---|
getHeaderFooterManager () | Returns HeaderFooter manager of the layout slide. Read-only ILayoutSlideHeaderFooterManager. |
Returns: LayoutSlideHeaderFooterManager
getLayoutType
Name | Description |
---|---|
getLayoutType () | Returns layout type of this layout slide. Read-only SlideLayoutType. |
Returns: byte
getMasterSlide
Name | Description |
---|---|
getMasterSlide () | Returns or sets the master slide for a layout. Read/write IMasterSlide. |
Returns: MasterSlide
getPlaceholderManager
Name | Description |
---|---|
getPlaceholderManager () | Returns the placeholder manager of the layout slide. Read-only ILayoutPlaceholderManager. |
Returns: LayoutPlaceholderManager
getShowMasterShapes
Name | Description |
---|---|
getShowMasterShapes () | Specifies if shapes on the master slide should be shown on slides or not. Read/write boolean. |
Returns: boolean
getThemeManager
Name | Description |
---|---|
getThemeManager () | Returns the overriding theme manager. Read-only IOverrideThemeManager. |
Returns: SlideThemeManager, LayoutSlideThemeManager, ChartThemeManager, NotesSlideThemeManager, BaseOverrideThemeManager
hasDependingSlides
Name | Description |
---|---|
hasDependingSlides () | Returns true if there exists at least one slide that depends on this layout slide. Read-only boolean. |
Returns: boolean
remove
Name | Description |
---|---|
remove () | Removes layout from presentation. |
Returns: void
Exception
Error | Condition |
---|---|
PptxEditException | Thrown 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
Name | Description |
---|---|
setMasterSlide (MasterSlide) | Returns or sets the master slide for a layout. Read/write IMasterSlide. |
Returns: void
setShowMasterShapes
Name | Description |
---|---|
setShowMasterShapes (boolean) | Specifies if shapes on the master slide should be shown on slides or not. Read/write boolean. |
Returns: void