Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointSlideLayout

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

A slide layout: the placeholders, shapes and background that slides using it inherit, on top of its master.

Inheritance

Usage

Explore 8 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 3

Methods

public PowerPointSlideLayout Duplicate(string? name = null) #

Copies this layout, with its shapes, placeholders and pictures, into a new layout of the same master.

Parameters

name string? = null optional
Remove 2 overloads
public void Remove() #

Removes the layout. It must not be used by any slide; use PowerPointSlideLayout.Remove to move those slides first. A master keeps at least one layout.

public void Remove(PowerPointSlideLayout replacement) #

Moves every slide using this layout to replacement and then removes this layout. Slide content is kept; placeholders are matched to the replacement's by type and index.

Parameters

replacement OfficeIMO.PowerPoint.PowerPointSlideLayout required

Properties

public PowerPointSlideMaster Master { get; } #

The master that owns this layout.

public int Index { get; } #

Zero-based position of the layout within its master.

public PowerPointSlideLayoutType? LayoutType { get; } #

Native layout type, or null when the layout does not declare one.

public bool ShowMasterShapes { get; set; } #

Whether slides using this layout also show the master's shapes.

public IReadOnlyList<PowerPointSlide> Slides { get; } #

Slides that use this layout, in presentation order.