LayoutSlide

LayoutSlide class

Represents a layout slide.

createThemeEffective

NameDescription
createThemeEffective()Returns an effective theme for this slide.

Result: ThemeEffectiveData


equals

NameDescription
equals(Slide)Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide’s structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

Parameters:

NameTypeDescription
slideSlideThe IBaseSlide to compare with the current IBaseSlide.

Result: boolean


equals

NameDescription
equals(MasterNotesSlide)Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide’s structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

Parameters:

NameTypeDescription
slideMasterNotesSlideThe IBaseSlide to compare with the current IBaseSlide.

Result: boolean


equals

NameDescription
equals(MasterSlide)Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide’s structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

Parameters:

NameTypeDescription
slideMasterSlideThe IBaseSlide to compare with the current IBaseSlide.

Result: boolean


equals

NameDescription
equals(LayoutSlide)Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide’s structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

Parameters:

NameTypeDescription
slideLayoutSlideThe IBaseSlide to compare with the current IBaseSlide.

Result: boolean


equals

NameDescription
equals(MasterHandoutSlide)Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide’s structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

Parameters:

NameTypeDescription
slideMasterHandoutSlideThe IBaseSlide to compare with the current IBaseSlide.

Result: boolean


equals

NameDescription
equals(NotesSlide)Determines whether the two IBaseSlide instances are equal. Returning value is calculated based on slide’s structure and static content. Two slides are equal if all shapes, styles, texts, animation and other settings. etc. are equal. The comparison doesn’t take into account unique identifier values, e.g. SlideId and dynamic content, e.g. current date value in Date Placeholder.

Parameters:

NameTypeDescription
slideNotesSlideThe IBaseSlide to compare with the current IBaseSlide.

Result: boolean


findShapeByAltText

NameDescription
findShapeByAltText(String)Finds first occurrence of a shape with the specified alternative text.

Parameters:

NameTypeDescription
altTextStringAlternative text.

Result: SummaryZoomSection, AutoShape, AudioFrame, OleObjectFrame, SummaryZoomFrame, ZoomFrame, GraphicalObject, PictureFrame, ZoomObject, VideoFrame, GeometryShape, SmartArtShape, SmartArt, Ink, Chart, GroupShape, Table, SectionZoomFrame, Shape, LegacyDiagram, Connector


getBackground

NameDescription
getBackground()Returns slide’s background. Read-only IBackground.

Result: Background


getControls

NameDescription
getControls()Returns the collection of ActiveX controls on a slide. Read-only IControlCollection.

Result: ControlCollection


getCustomData

NameDescription
getCustomData()Returns the slide’s custom data. Read-only ICustomData.

Result: CustomData


getDependingSlides

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

Result: Slide


getHeaderFooterManager

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

Result: LayoutSlideHeaderFooterManager


getHyperlinkQueries

NameDescription
getHyperlinkQueries()Provides easy access to contained hyperlinks. Read-only IHyperlinkQueries.

Result: HyperlinkQueries


getLayoutType

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

Result: byte


getMasterSlide

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

Result: MasterSlide


getName

NameDescription
getName()Returns or sets the name of a slide. Read/write String.

Result: String


getParent_Immediate

NameDescription
getParent_Immediate()

getPresentation

NameDescription
getPresentation()Returns IPresentation interface. Read-only IPresentation.

Result: Presentation


getShapes

NameDescription
getShapes()Returns the shapes of a slide. Read-only IShapeCollection.

Result: ShapeCollection


getShowMasterShapes

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

Result: boolean


getShowMasterShapes

NameDescription
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.

Result: boolean

Error

ErrorCondition
NotSupportedExceptionThrown if set true for master slide.

getSlide

NameDescription
getSlide()

Result: Slide, MasterNotesSlide, BaseSlide, MasterSlide, LayoutSlide, MasterHandoutSlide, NotesSlide


getSlideId

NameDescription
getSlideId()Returns the ID of a slide. Read-only long.

Result: long


getSlideShowTransition

NameDescription
getSlideShowTransition()Returns the Transition object which contains information about how the specified slide advances during a slide show. Read-only ISlideShowTransition.

Result: SlideShowTransition


getThemeManager

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

Result: LayoutSlideThemeManager, ChartThemeManager, BaseOverrideThemeManager, NotesSlideThemeManager, SlideThemeManager


getTimeline

NameDescription
getTimeline()Returns animation timeline object. Read-only IAnimationTimeLine.

Result: AnimationTimeLine


hasDependingSlides

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

Result: boolean


joinPortionsWithSameFormatting

NameDescription
joinPortionsWithSameFormatting()Joins runs with same formatting in all paragraphs all acceptable shapes.

joinPortionsWithSameFormatting

NameDescription
joinPortionsWithSameFormatting(ShapeCollection)Joins runs with same formatting in all paragraphs in all acceptable shapes.

remove

NameDescription
remove()Removes layout from presentation.

Error

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.

setName

NameDescription
setName(String)Returns or sets the name of a slide. Read/write String.

setShowMasterShapes

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

setShowMasterShapes

NameDescription
setShowMasterShapes(boolean)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.

Error

ErrorCondition
NotSupportedExceptionThrown if set true for master slide.