Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointSlide

OfficeIMO.PowerPoint

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

Represents a single slide in a presentation.

Inheritance

  • object
  • PowerPointSlide

Usage

Explore 33 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 21

Methods

AddAudio 2 overloads
public PowerPointMedia AddAudio(string audioPath, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds an embedded audio file to the slide.

Parameters

audioPath string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointMedia AddAudio(Stream audio, string contentType, string extension, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds an embedded audio stream to the slide.

Parameters

audio System.IO.Stream required
contentType string required
extension string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
AddChart 2 overloads
public PowerPointChart AddChart(OfficeChartType chartKind, OfficeChartData data) #

Adds an editable native chart with the format's default title, size and placement.

Parameters

chartKind OfficeIMO.OfficeChartType required
data OfficeIMO.Drawing.OfficeChartData required
public PowerPointChart AddChart(OfficeChartType chartKind, OfficeChartData data, OfficeChartOptions? options) #

Adds a native chart from the shared OfficeIMO chart contract. Supports all shared chart kinds, per-series combo kinds, and primary or secondary value axes where the selected families are compatible.

Parameters

chartKind OfficeIMO.OfficeChartType required
data OfficeIMO.Drawing.OfficeChartData required
options OfficeIMO.OfficeChartOptions? required
AddChart``1 2 overloads
public PowerPointChart AddChart<T>(OfficeChartType type, IEnumerable<T?> data, string category, params string[] series) #

Adds an editable native chart using property names, including names supplied with nameof.

Type Parameters

T

Parameters

type OfficeIMO.OfficeChartType required
data System.Collections.Generic.IEnumerable<T?> required
category string required
series string[] required
public PowerPointChart AddChart<T>(OfficeChartType type, IEnumerable<T?> data, string category, OfficeChartOptions? options, params string[] series) #

Adds an editable native chart using property names and shared or format-specific options.

Type Parameters

T

Parameters

type OfficeIMO.OfficeChartType required
data System.Collections.Generic.IEnumerable<T?> required
category string required
options OfficeIMO.OfficeChartOptions? required
series string[] required
AddChart``2 2 overloads
public PowerPointChart AddChart<T, TCategory>(OfficeChartType type, IEnumerable<T?> data, Func<T?, TCategory?> category, params OfficeSeries[] series) #

Adds an editable native chart from typed category data and numeric series.

Type Parameters

T
TCategory

Parameters

type OfficeIMO.OfficeChartType required
data System.Collections.Generic.IEnumerable<T?> required
category System.Func<T?, TCategory?> required
series OfficeIMO.OfficeSeries[] required
public PowerPointChart AddChart<T, TCategory>(OfficeChartType type, IEnumerable<T?> data, Func<T?, TCategory?> category, OfficeChartOptions? options, params OfficeSeries[] series) #

Adds an editable native chart from typed data with a title, size and optional format-specific placement.

Type Parameters

T
TCategory

Parameters

type OfficeIMO.OfficeChartType required
data System.Collections.Generic.IEnumerable<T?> required
category System.Func<T?, TCategory?> required
options OfficeIMO.OfficeChartOptions? required
series OfficeIMO.OfficeSeries[] required
public PowerPointClassicAnimation AddClassicAnimation(PowerPointShape shape, PowerPointClassicAnimationEffect effect, PowerPointClassicAnimationOptions? options = null) #

Adds or replaces the classic animation for a shape on this slide.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
effect OfficeIMO.PowerPoint.PowerPointClassicAnimationEffect required
options OfficeIMO.PowerPoint.PowerPointClassicAnimationOptions? = null optional
AddCommandAnimation 2 overloads
public PowerPointTimelineAction AddCommandAnimation(PowerPointShape shape, string command, PowerPointTimelineOptions? options = null) #

Adds a native command action targeted at a shape.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
command string required
options OfficeIMO.PowerPoint.PowerPointTimelineOptions? = null optional
public PowerPointTimelineAction AddCommandAnimation(PowerPointShape shape, string command, PowerPointAnimationCommand type, PowerPointTimelineOptions? options = null) #

Adds a native command action of the requested command type.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
command string required
type OfficeIMO.PowerPoint.PowerPointAnimationCommand required
options OfficeIMO.PowerPoint.PowerPointTimelineOptions? = null optional
AddConnector 3 overloads
public PowerPointConnectionShape AddConnector(PowerPointShape from, PowerPointShape to, PowerPointConnectorKind kind) #

Adds a connector glued to the closest facing connection sites of two shapes. Moving or resizing either shape through this API keeps the connector attached.

Parameters

from OfficeIMO.PowerPoint.PowerPointShape required
to OfficeIMO.PowerPoint.PowerPointShape required
kind OfficeIMO.PowerPoint.PowerPointConnectorKind required
public PowerPointConnectionShape AddConnector(PowerPointShape from, int fromSite, PowerPointShape to, int toSite, PowerPointConnectorKind kind) #

Adds a connector glued to the given connection sites (see PowerPointShape.ConnectionSites). Moving or resizing either shape through this API keeps the connector attached.

Parameters

from OfficeIMO.PowerPoint.PowerPointShape required
fromSite int required
to OfficeIMO.PowerPoint.PowerPointShape required
toSite int required
kind OfficeIMO.PowerPoint.PowerPointConnectorKind required
public PowerPointConnectionShape AddConnector(OfficeLength startX, OfficeLength startY, OfficeLength endX, OfficeLength endY, PowerPointConnectorKind kind) #

Adds a free connector between two points.

Parameters

startX OfficeIMO.OfficeLength required
startY OfficeIMO.OfficeLength required
endX OfficeIMO.OfficeLength required
endY OfficeIMO.OfficeLength required
kind OfficeIMO.PowerPoint.PowerPointConnectorKind required
public PowerPointAutoShape AddCustomGeometry(OfficeShape geometry, OfficeLength left, OfficeLength top, OfficeLength width, OfficeLength height, string? name = null) #

Adds an editable PowerPoint custom-geometry shape from a shared drawing path or polygon. The shared descriptor supplies the geometry and basic fill/stroke styling; the supplied bounds control its size and placement on the slide.

Parameters

geometry OfficeIMO.Drawing.OfficeShape required
left OfficeIMO.OfficeLength required
top OfficeIMO.OfficeLength required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
name string? = null optional
public PowerPointAutoShape AddEllipse(OfficeLength left, OfficeLength top, OfficeLength width, OfficeLength height, string? name = null) #

Adds an ellipse shape.

Parameters

left OfficeIMO.OfficeLength required
top OfficeIMO.OfficeLength required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
name string? = null optional
AddImage 5 overloads
public PowerPointImage AddImage(string imagePath, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds an image from the given file path.

Parameters

imagePath string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointImage AddImage(Stream image, OfficeImageFormat imageType, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds an image from the provided stream.

Parameters

image System.IO.Stream required
Stream containing the image data.
imageType OfficeIMO.Drawing.OfficeImageFormat required
Image format of the stream.
left OfficeIMO.OfficeLength? = null optional
Left position as a physical length.
top OfficeIMO.OfficeLength? = null optional
Top position as a physical length.
width OfficeIMO.OfficeLength? = null optional
Width as a physical length.
height OfficeIMO.OfficeLength? = null optional
Height as a physical length.
public PowerPointImage AddImage(string imagePath, PowerPointLayoutBox layout) #

Adds an image using a layout box.

Parameters

imagePath string required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
public PowerPointImage AddImage(Stream image, OfficeImageFormat imageType, PowerPointLayoutBox layout) #

Adds an image from a stream using a layout box.

Parameters

image System.IO.Stream required
imageType OfficeIMO.Drawing.OfficeImageFormat required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
public PowerPointImage AddImage(PowerPointImageAsset asset, PowerPointLayoutBox bounds) #

Adds a semantic image with deterministic fit/fill behavior, focal-point crop, and alternative text.

Parameters

asset OfficeIMO.PowerPoint.PowerPointImageAsset required
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
public PowerPointAutoShape AddLine(OfficeLength startX, OfficeLength startY, OfficeLength endX, OfficeLength endY, string? name = null) #

Adds a line shape from the specified start and end points.

Parameters

startX OfficeIMO.OfficeLength required
startY OfficeIMO.OfficeLength required
endX OfficeIMO.OfficeLength required
endY OfficeIMO.OfficeLength required
name string? = null optional
public PowerPointMedia AddLinkedAudio(Uri source, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a linked audio frame without copying the payload into the package.

Parameters

source System.Uri required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointOleObject AddLinkedOleObject(Uri source, string progId, bool autoUpdate = false, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a linked OLE object while retaining the external payload URI.

Parameters

source System.Uri required
progId string required
autoUpdate bool = false optional
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointMedia AddLinkedVideo(Uri source, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a linked video frame without copying the payload into the package.

Parameters

source System.Uri required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointTimelineAction AddMotionAnimation(PowerPointShape shape, string path, PowerPointTimelineOptions? options = null) #

Adds a native motion-path action without replacing the existing timeline.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
path string required
options OfficeIMO.PowerPoint.PowerPointTimelineOptions? = null optional
public PowerPointOleObject AddOleObject(Stream storage, string progId, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null, string contentType = "application/vnd.openxmlformats-officedocument.oleObject") #

Adds an embedded OLE compound storage to the slide.

Parameters

storage System.IO.Stream required
progId string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
contentType string = "application/vnd.openxmlformats-officedocument.oleObject" optional
public PowerPointAutoShape AddRectangle(OfficeLength left, OfficeLength top, OfficeLength width, OfficeLength height, string? name = null) #

Adds a rectangle shape.

Parameters

left OfficeIMO.OfficeLength required
top OfficeIMO.OfficeLength required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
name string? = null optional
public PowerPointTimelineAction AddRotationAnimation(PowerPointShape shape, double degrees, PowerPointTimelineOptions? options = null) #

Adds a native rotation action without replacing the existing timeline.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
degrees double required
options OfficeIMO.PowerPoint.PowerPointTimelineOptions? = null optional
public PowerPointAutoShape AddShape(OfficePresetShapeType shapeType, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null, string? name = null) #

Adds an auto shape with the specified geometry.

Parameters

shapeType OfficeIMO.Drawing.OfficePresetShapeType required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
name string? = null optional
AddSmartArt 4 overloads
public PowerPointSmartArt AddSmartArt(PowerPointSmartArtType type = BasicProcess, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a native SmartArt diagram to the slide.

Parameters

type OfficeIMO.PowerPoint.PowerPointSmartArtType = BasicProcess optional
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointSmartArt AddSmartArt(PowerPointSmartArtType type, IEnumerable<string> nodeTexts, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a native SmartArt diagram populated with editable semantic node text.

Parameters

type OfficeIMO.PowerPoint.PowerPointSmartArtType required
nodeTexts System.Collections.Generic.IEnumerable<string> required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointSmartArt AddSmartArt(PowerPointSmartArtType type, PowerPointLayoutBox layout) #

Adds a native SmartArt diagram to the slide using a layout box.

Parameters

type OfficeIMO.PowerPoint.PowerPointSmartArtType required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
public PowerPointSmartArt AddSmartArt(PowerPointSmartArtType type, IEnumerable<string> nodeTexts, PowerPointLayoutBox layout) #

Adds populated native SmartArt using a layout box.

Parameters

type OfficeIMO.PowerPoint.PowerPointSmartArtType required
nodeTexts System.Collections.Generic.IEnumerable<string> required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
AddTable 4 overloads
public PowerPointTable AddTable(int rows, int columns, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a table with the specified rows, columns and physical bounds. Omitted geometry uses the canonical content frame below the title.

Parameters

rows int required
columns int required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointTable AddTable(int rows, int columns, PowerPointTableStylePreset preset, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a table with a style preset applied.

Parameters

rows int required
columns int required
preset OfficeIMO.PowerPoint.PowerPointTableStylePreset required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointTable AddTable(int rows, int columns, string styleName, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null, bool ignoreCase = true, bool? firstRow = null, bool? lastRow = null, bool? firstColumn = null, bool? lastColumn = null, bool? bandedRows = null, bool? bandedColumns = null) #

Adds a table with a table style name applied.

Parameters

rows int required
columns int required
styleName string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
ignoreCase bool = true optional
firstRow bool? = null optional
lastRow bool? = null optional
firstColumn bool? = null optional
lastColumn bool? = null optional
bandedRows bool? = null optional
bandedColumns bool? = null optional
public PowerPointTable AddTable(int rows, int columns, PowerPointLayoutBox layout) #

Adds a table using a layout box.

Parameters

rows int required
columns int required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
AddTable``1 6 overloads
public PowerPointTable AddTable<T>(IEnumerable<T?> data, Action<ObjectFlattenerOptions>? configure, bool includeHeaders = true, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a table built from a sequence of objects.

Type Parameters

T

Parameters

data System.Collections.Generic.IEnumerable<T?> required
configure System.Action<OfficeIMO.Data.ObjectFlattenerOptions>? required
includeHeaders bool = true optional
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointTable AddTable<T>(IEnumerable<T?> data, IEnumerable<PowerPointTableColumn<T?>> columns, bool includeHeaders = true, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a table using explicit column bindings.

Type Parameters

T

Parameters

data System.Collections.Generic.IEnumerable<T?> required
columns System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTableColumn<T?>> required
includeHeaders bool = true optional
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointTable AddTable<T>(IEnumerable<T?> data, IEnumerable<PowerPointTableColumn<T?>> columns, PowerPointTableStylePreset preset, bool includeHeaders = true, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a table using explicit column bindings with a style preset applied.

Type Parameters

T

Parameters

data System.Collections.Generic.IEnumerable<T?> required
columns System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTableColumn<T?>> required
preset OfficeIMO.PowerPoint.PowerPointTableStylePreset required
includeHeaders bool = true optional
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointTable AddTable<T>(IEnumerable<T?> data, IEnumerable<PowerPointTableColumn<T?>> columns, string styleName, bool includeHeaders = true, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null, bool ignoreCase = true, bool? firstRow = null, bool? lastRow = null, bool? firstColumn = null, bool? lastColumn = null, bool? bandedRows = null, bool? bandedColumns = null) #

Adds a table using explicit column bindings with a table style name applied.

Type Parameters

T

Parameters

data System.Collections.Generic.IEnumerable<T?> required
columns System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTableColumn<T?>> required
styleName string required
includeHeaders bool = true optional
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
ignoreCase bool = true optional
firstRow bool? = null optional
lastRow bool? = null optional
firstColumn bool? = null optional
lastColumn bool? = null optional
bandedRows bool? = null optional
bandedColumns bool? = null optional
public PowerPointTable AddTable<T>(IEnumerable<T?> data, IEnumerable<PowerPointTableColumn<T?>> columns, PowerPointLayoutBox layout, bool includeHeaders = true) #

Adds a table using explicit column bindings and a layout box.

Type Parameters

T

Parameters

data System.Collections.Generic.IEnumerable<T?> required
columns System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTableColumn<T?>> required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
includeHeaders bool = true optional
public PowerPointTable AddTable<T>(IEnumerable<T?> rows, OfficeTableOptions? options = null) #

Adds an editable native table with common header and naming options.

Type Parameters

T

Parameters

rows System.Collections.Generic.IEnumerable<T?> required
options OfficeIMO.OfficeTableOptions? = null optional
AddTextBox 3 overloads
public PowerPointTextBox AddTextBox(string text, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a textbox with the specified text.

Parameters

text string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointTextBox AddTextBox(string text, PowerPointLayoutBox layout) #

Adds a textbox using a layout box.

Parameters

text string required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
public PowerPointTextBox AddTextBox(PowerPointLayoutBox layout) #

Adds an empty textbox using a layout box.

Parameters

layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
public PowerPointTextBox AddTextShape(OfficePresetShapeType shapeType, string text, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null, string? name = null) #

Adds a text-bearing shape with the specified preset geometry.

Parameters

shapeType OfficeIMO.Drawing.OfficePresetShapeType required
text string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
name string? = null optional
public PowerPointTextBox AddTextToPlaceholder(PowerPointTemplatePlaceholderInfo placeholder, string text) #

Creates a slide textbox from an inventoried text placeholder while preserving semantic type, placeholder index, authored name, and bounds.

Parameters

placeholder OfficeIMO.PowerPoint.PowerPointTemplatePlaceholderInfo required
text string required
AddTitle 2 overloads
public PowerPointTextBox AddTitle(string text, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds a title textbox to the slide.

Parameters

text string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointTextBox AddTitle(string text, PowerPointLayoutBox layout) #

Adds a title textbox using a layout box.

Parameters

text string required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
AddVideo 2 overloads
public PowerPointMedia AddVideo(string videoPath, string? posterImagePath = null, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null) #

Adds an embedded video file to the slide.

Parameters

videoPath string required
posterImagePath string? = null optional
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
public PowerPointMedia AddVideo(Stream video, string contentType, string extension, OfficeLength? left = null, OfficeLength? top = null, OfficeLength? width = null, OfficeLength? height = null, Stream? posterImage = null, OfficeImageFormat posterImageType = Png) #

Adds an embedded video stream to the slide.

Parameters

video System.IO.Stream required
contentType string required
extension string required
left OfficeIMO.OfficeLength? = null optional
top OfficeIMO.OfficeLength? = null optional
width OfficeIMO.OfficeLength? = null optional
height OfficeIMO.OfficeLength? = null optional
posterImage System.IO.Stream? = null optional
posterImageType OfficeIMO.Drawing.OfficeImageFormat = Png optional
public void AlignGroupChildren(PowerPointGroupShape groupShape, PowerPointShapeAlignment alignment) #

Aligns child shapes within the group's bounds.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
AlignShapes 2 overloads
public void AlignShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeAlignment alignment) #

Aligns shapes within their selection bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
public void AlignShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeAlignment alignment, PowerPointLayoutBox bounds) #

Aligns shapes within a custom bounding box.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
public void AlignShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeAlignment alignment) #

Aligns shapes within the full slide bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
public void AlignShapesToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeAlignment alignment, OfficeLength margin) #

Aligns shapes within the slide content bounds using a margin.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
public void ArrangeGroupChildrenInGrid(PowerPointGroupShape groupShape, int columns, int rows, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges child shapes into a grid within the group's bounds.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
Group whose children are arranged in their native child coordinate space.
columns int required
Number of grid columns, greater than zero.
rows int required
Number of grid rows, greater than zero.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
ArrangeGroupChildrenInGridAuto 2 overloads
public void ArrangeGroupChildrenInGridAuto(PowerPointGroupShape groupShape, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges child shapes into an auto-sized grid within the group's bounds.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
Group whose children are arranged in their native child coordinate space.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
public void ArrangeGroupChildrenInGridAuto(PowerPointGroupShape groupShape, PowerPointShapeGridOptions? options) #

Arranges child shapes into an auto-sized grid within the group's bounds using options.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
Group whose children are arranged in their native child coordinate space.
options OfficeIMO.PowerPoint.PowerPointShapeGridOptions? required
Layout settings, or null to use the default settings.
ArrangeShapesInGrid 2 overloads
public void ArrangeShapesInGrid(IEnumerable<PowerPointShape> shapes, int columns, int rows, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges shapes into a grid within their selection bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
columns int required
Number of grid columns, greater than zero.
rows int required
Number of grid rows, greater than zero.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
public void ArrangeShapesInGrid(IEnumerable<PowerPointShape> shapes, PowerPointLayoutBox bounds, int columns, int rows, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges shapes into a grid within a custom bounding box.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
columns int required
Number of grid columns, greater than zero.
rows int required
Number of grid rows, greater than zero.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
ArrangeShapesInGridAuto 3 overloads
public void ArrangeShapesInGridAuto(IEnumerable<PowerPointShape> shapes, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges shapes into an auto-sized grid within their selection bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
public void ArrangeShapesInGridAuto(IEnumerable<PowerPointShape> shapes, PowerPointLayoutBox bounds, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges shapes into an auto-sized grid within a custom bounding box.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
public void ArrangeShapesInGridAuto(IEnumerable<PowerPointShape> shapes, PowerPointLayoutBox bounds, PowerPointShapeGridOptions? options) #

Arranges shapes into an auto-sized grid within a custom bounding box using options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
options OfficeIMO.PowerPoint.PowerPointShapeGridOptions? required
Layout settings, or null to use the default settings.
ArrangeShapesInGridAutoToSlide 2 overloads
public void ArrangeShapesInGridAutoToSlide(IEnumerable<PowerPointShape> shapes, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges shapes into an auto-sized grid that spans the slide bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
public void ArrangeShapesInGridAutoToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeGridOptions? options) #

Arranges shapes into an auto-sized grid that spans the slide bounds using options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
options OfficeIMO.PowerPoint.PowerPointShapeGridOptions? required
Layout settings, or null to use the default settings.
ArrangeShapesInGridAutoToSlideContent 2 overloads
public void ArrangeShapesInGridAutoToSlideContent(IEnumerable<PowerPointShape> shapes, OfficeLength margin, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges shapes into an auto-sized grid that spans the slide content bounds using a margin.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
public void ArrangeShapesInGridAutoToSlideContent(IEnumerable<PowerPointShape> shapes, OfficeLength margin, PowerPointShapeGridOptions? options) #

Arranges shapes into an auto-sized grid that spans the slide content bounds using a margin and options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
options OfficeIMO.PowerPoint.PowerPointShapeGridOptions? required
Layout settings, or null to use the default settings.
public void ArrangeShapesInGridToSlide(IEnumerable<PowerPointShape> shapes, int columns, int rows, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges shapes into a grid that spans the slide bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
columns int required
Number of grid columns, greater than zero.
rows int required
Number of grid rows, greater than zero.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
public void ArrangeShapesInGridToSlideContent(IEnumerable<PowerPointShape> shapes, int columns, int rows, OfficeLength margin, OfficeLength gutterX = default, OfficeLength gutterY = default, bool resizeToCell = true, PowerPointShapeGridFlow flow = RowMajor) #

Arranges shapes into a grid that spans the slide content bounds using a margin.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
columns int required
Number of grid columns, greater than zero.
rows int required
Number of grid rows, greater than zero.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
gutterX OfficeIMO.OfficeLength = default optional
Nonnegative horizontal gap between cells. The default is zero.
gutterY OfficeIMO.OfficeLength = default optional
Nonnegative vertical gap between cells. The default is zero.
resizeToCell bool = true optional
Whether each shape is resized to its grid cell.
flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor optional
Order used to fill grid cells.
public void BringForward(PowerPointShape shape) #

Moves the shape one step forward in z-order.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
public void BringToFront(PowerPointShape shape) #

Moves the shape to the front (top) of the z-order.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
public void ClearBackground() #

Removes the slide's background override so the layout or master can supply its background.

public void ClearBackgroundImage() #

Clears any background image from the slide.

public void ClearClassicAnimations() #

Removes all OfficeIMO classic animations from the slide.

public void ClearClassicAnimationSound(PowerPointShape shape) #

Removes the embedded sound played with a shape's classic animation.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
public void ClearTransitionSound() #

Removes this slide's start- or stop-sound transition action.

public PowerPointSlideVisualInfo CreateVisualSnapshot(PowerPointImageExportOptions? options = null) #

Creates a format-neutral visual snapshot for this slide.

Parameters

options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
DistributeGroupChildren 2 overloads
public void DistributeGroupChildren(PowerPointGroupShape groupShape, PowerPointShapeDistribution distribution) #

Distributes child shapes within the group's bounds.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
public void DistributeGroupChildren(PowerPointGroupShape groupShape, PowerPointShapeDistribution distribution, PowerPointShapeAlignment crossAxisAlignment) #

Distributes child shapes within the group's bounds and aligns on the cross axis.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
DistributeGroupChildrenWithSpacing 2 overloads
public void DistributeGroupChildrenWithSpacing(PowerPointGroupShape groupShape, PowerPointShapeDistribution distribution, OfficeLength spacing, bool center = false) #

Distributes child shapes with fixed spacing within the group's bounds.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
Group whose children are arranged in their native child coordinate space.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
center bool = false optional
Whether to center the arranged shapes within the target bounds.
public void DistributeGroupChildrenWithSpacing(PowerPointGroupShape groupShape, PowerPointShapeDistribution distribution, PowerPointShapeSpacingOptions? options) #

Distributes child shapes with fixed spacing within the group's bounds using options.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
Group whose children are arranged in their native child coordinate space.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions? required
Layout settings, or null to use the default settings.
DistributeShapes 4 overloads
public void DistributeShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution) #

Distributes shapes evenly within their selection bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
public void DistributeShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointShapeAlignment crossAxisAlignment) #

Distributes shapes evenly within their selection bounds and aligns them on the cross axis.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
public void DistributeShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointLayoutBox bounds) #

Distributes shapes evenly within a custom bounding box.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
public void DistributeShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointLayoutBox bounds, PowerPointShapeAlignment crossAxisAlignment) #

Distributes shapes evenly within a custom bounding box and aligns them on the cross axis.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
DistributeShapesToSlide 2 overloads
public void DistributeShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution) #

Distributes shapes evenly within the full slide bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
public void DistributeShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointShapeAlignment crossAxisAlignment) #

Distributes shapes evenly within the full slide bounds and aligns them on the cross axis.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
DistributeShapesToSlideContent 2 overloads
public void DistributeShapesToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength margin, PowerPointShapeAlignment crossAxisAlignment) #

Distributes shapes evenly within the slide content bounds using a margin and aligns them on the cross axis.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment on the axis perpendicular to distribution.
public void DistributeShapesToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength margin) #

Distributes shapes evenly within the slide content bounds using a margin.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
DistributeShapesWithSpacing 8 overloads
public void DistributeShapesWithSpacing(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, bool center = false) #

Distributes shapes with a fixed spacing within their selection bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
center bool = false optional
Whether to center the arranged shapes within the target bounds.
public void DistributeShapesWithSpacing(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, PowerPointShapeAlignment alignment) #

Distributes shapes with a fixed spacing within their selection bounds using alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
public void DistributeShapesWithSpacing(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointShapeSpacingOptions? options) #

Distributes shapes with a fixed spacing within their selection bounds using options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions? required
Layout settings, or null to use the default settings.
public void DistributeShapesWithSpacing(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, PowerPointShapeAlignment alignment, PowerPointShapeAlignment crossAxisAlignment) #

Distributes shapes with a fixed spacing within their selection bounds using alignment and cross-axis alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment on the axis perpendicular to distribution.
public void DistributeShapesWithSpacing(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointLayoutBox bounds, OfficeLength spacing, bool center = false) #

Distributes shapes with a fixed spacing within a custom bounding box.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
center bool = false optional
Whether to center the arranged shapes within the target bounds.
public void DistributeShapesWithSpacing(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointLayoutBox bounds, OfficeLength spacing, PowerPointShapeAlignment alignment) #

Distributes shapes with a fixed spacing within a custom bounding box using alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
public void DistributeShapesWithSpacing(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointLayoutBox bounds, PowerPointShapeSpacingOptions? options) #

Distributes shapes with a fixed spacing within a custom bounding box using options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions? required
Layout settings, or null to use the default settings.
public void DistributeShapesWithSpacing(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointLayoutBox bounds, OfficeLength spacing, PowerPointShapeAlignment alignment, PowerPointShapeAlignment crossAxisAlignment) #

Distributes shapes with a fixed spacing within a custom bounding box using alignment and cross-axis alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment on the axis perpendicular to distribution.
DistributeShapesWithSpacingToSlide 4 overloads
public void DistributeShapesWithSpacingToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, bool center = false) #

Distributes shapes with a fixed spacing within the full slide bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
center bool = false optional
Whether to center the arranged shapes within the target bounds.
public void DistributeShapesWithSpacingToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, PowerPointShapeAlignment alignment) #

Distributes shapes with a fixed spacing within the full slide bounds using alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
public void DistributeShapesWithSpacingToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, PowerPointShapeSpacingOptions? options) #

Distributes shapes with a fixed spacing within the full slide bounds using options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions? required
Layout settings, or null to use the default settings.
public void DistributeShapesWithSpacingToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, PowerPointShapeAlignment alignment, PowerPointShapeAlignment crossAxisAlignment) #

Distributes shapes with a fixed spacing within the full slide bounds using alignment and cross-axis alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment on the axis perpendicular to distribution.
DistributeShapesWithSpacingToSlideContent 4 overloads
public void DistributeShapesWithSpacingToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, OfficeLength margin, bool center = false) #

Distributes shapes with a fixed spacing within the slide content bounds using a margin.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
center bool = false optional
Whether to center the arranged shapes within the target bounds.
public void DistributeShapesWithSpacingToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, OfficeLength margin, PowerPointShapeAlignment alignment) #

Distributes shapes with a fixed spacing within the slide content bounds using a margin and alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
public void DistributeShapesWithSpacingToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength margin, PowerPointShapeSpacingOptions? options) #

Distributes shapes with a fixed spacing within the slide content bounds using a margin and options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions? required
Layout settings, or null to use the default settings.
public void DistributeShapesWithSpacingToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution, OfficeLength spacing, OfficeLength margin, PowerPointShapeAlignment alignment, PowerPointShapeAlignment crossAxisAlignment) #

Distributes shapes with a fixed spacing within the slide content bounds using a margin, alignment, and cross-axis alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution required
Axis along which shapes are distributed.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment on the axis perpendicular to distribution.
public PowerPointShape DuplicateShape(PowerPointShape shape, OfficeLength offsetX = default, OfficeLength offsetY = default) #

Creates a duplicate of the provided shape and optionally offsets its position using exact document lengths.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
offsetX OfficeIMO.OfficeLength = default optional
offsetY OfficeIMO.OfficeLength = default optional
public IEnumerable<PowerPointShape> EnumerateShapesDeep(IEnumerable<PowerPointShape> shapes, bool includeHidden = false) #

Enumerates a shape tree in drawing order, including nested group children while preserving inherited hidden state.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
includeHidden bool = false optional

Returns

IEnumerable<PowerPointShape>
public void FitShapesToBounds(IEnumerable<PowerPointShape> shapes, PowerPointLayoutBox bounds, bool preserveAspect = false, bool center = false) #

Scales and repositions shapes to fit within a target bounding box.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
preserveAspect bool = false optional
center bool = false optional
public void FitShapesToSlide(IEnumerable<PowerPointShape> shapes, bool preserveAspect = false, bool center = false) #

Scales and repositions shapes to fit the slide bounds.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
preserveAspect bool = false optional
center bool = false optional
public void FitShapesToSlideContent(IEnumerable<PowerPointShape> shapes, OfficeLength margin, bool preserveAspect = false, bool center = false) #

Scales and repositions shapes to fit the slide content bounds with a margin.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
preserveAspect bool = false optional
Whether to retain each shape's aspect ratio when scaling.
center bool = false optional
Whether to center the arranged shapes within the target bounds.
GetBackground 2 overloads
public PowerPointSlideBackground GetBackground() #

Returns a detached snapshot of the slide background fill that exporters can consume without Open XML coupling.

public PowerPointSlideBackground GetBackground(int maximumImageBytes) #

Returns a detached slide-background snapshot with a bound on embedded image bytes.

Parameters

maximumImageBytes int required
public PowerPointChart? GetChart(string name) #

Retrieves a chart by its name.

Parameters

name string required
public byte[]? GetClassicAnimationSoundBytes(PowerPointShape shape) #

Returns the exact embedded classic-animation sound bytes, when present.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required

Returns

byte[]?
public IReadOnlyList<PowerPointChart> GetGroupCharts(PowerPointGroupShape groupShape) #

Returns the child charts of a group shape.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required

Returns

IReadOnlyList<PowerPointChart>
public PowerPointLayoutBox GetGroupChildBounds(PowerPointGroupShape groupShape) #

Gets the layout bounds used by a group for its children as OfficeLength values.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
Group whose native child coordinate space is inspected.

Returns

PowerPointLayoutBox The native child region, or the selection bounds when no complete child transform exists.
public IReadOnlyList<PowerPointShape> GetGroupChildren(PowerPointGroupShape groupShape) #

Returns the child shapes of a group shape.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required

Returns

IReadOnlyList<PowerPointShape>
public IReadOnlyList<PowerPointImage> GetGroupImages(PowerPointGroupShape groupShape) #

Returns the child images of a group shape.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required

Returns

IReadOnlyList<PowerPointImage>
public IReadOnlyList<PowerPointTable> GetGroupTables(PowerPointGroupShape groupShape) #

Returns the child tables of a group shape.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required

Returns

IReadOnlyList<PowerPointTable>
public IReadOnlyList<PowerPointTextBox> GetGroupTextBoxes(PowerPointGroupShape groupShape) #

Returns the child textboxes of a group shape.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required

Returns

IReadOnlyList<PowerPointTextBox>
public PowerPointImage? GetImage(string name) #

Retrieves an image by its name.

Parameters

name string required
public PowerPointSlideLayoutInfo? GetLayoutInfo() #

Inspects the current layout and owning master without modifying the package.

Returns

PowerPointSlideLayoutInfo? The layout description, or null when the slide has no layout.
public PowerPointLayoutPlaceholderInfo? GetLayoutPlaceholder(PowerPointPlaceholderType placeholderType, uint? index = null) #

Retrieves a layout placeholder by type and optional index.

Parameters

placeholderType OfficeIMO.PowerPoint.PowerPointPlaceholderType required
index uint? = null optional
public PowerPointLayoutBox? GetLayoutPlaceholderBounds(PowerPointPlaceholderType placeholderType, uint? index = null) #

Retrieves layout placeholder bounds by type and optional index.

Parameters

placeholderType OfficeIMO.PowerPoint.PowerPointPlaceholderType required
index uint? = null optional
public IReadOnlyList<PowerPointLayoutPlaceholderInfo> GetLayoutPlaceholders() #

Retrieves placeholders defined by the slide layout.

Returns

IReadOnlyList<PowerPointLayoutPlaceholderInfo>
public PowerPointOleObject? GetOleObject(string name) #

Retrieves an embedded OLE object by its shape name.

Parameters

name string required
public PowerPointTextBox? GetPlaceholder(PowerPointPlaceholderType placeholderType, uint? index = null) #

Retrieves the first placeholder textbox matching the specified type.

Parameters

placeholderType OfficeIMO.PowerPoint.PowerPointPlaceholderType required
index uint? = null optional
public PowerPointShape? GetShape(string name) #

Retrieves a shape by its name.

Parameters

name string required
public PowerPointShape? GetShapeById(uint id) #

Retrieves a shape by its non-visual drawing identifier.

Parameters

id uint required
public T? GetShapeById<T>(uint id) #

Retrieves a typed shape by its non-visual drawing identifier.

Type Parameters

T

Parameters

id uint required

Returns

T?
public PowerPointShape? GetShapeByName(string name, bool ignoreCase = false) #

Retrieves a shape by name, optionally using case-insensitive comparison.

Parameters

name string required
ignoreCase bool = false optional
public T? GetShapeByName<T>(string name, bool ignoreCase = false) #

Retrieves a typed shape by name, optionally using case-insensitive comparison.

Type Parameters

T

Parameters

name string required
ignoreCase bool = false optional

Returns

T?
GetShapesInBounds 2 overloads
public IReadOnlyList<PowerPointShape> GetShapesInBounds(PowerPointLayoutBox bounds, bool includePartial) #

Retrieves shapes that are within or intersect the provided bounds.

Parameters

bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
includePartial bool required

Returns

IReadOnlyList<PowerPointShape>
public IReadOnlyList<PowerPointShape> GetShapesInBounds(OfficeLength left, OfficeLength top, OfficeLength width, OfficeLength height, bool includePartial = true) #

Retrieves shapes using an explicit position and size.

Parameters

left OfficeIMO.OfficeLength required
top OfficeIMO.OfficeLength required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
includePartial bool = true optional

Returns

IReadOnlyList<PowerPointShape>
public string GetSpeakerNotesText() #

Reads existing speaker-note text without creating a notes part as a side effect.

Returns

string
public PowerPointTable? GetTable(string name) #

Retrieves a table by its name.

Parameters

name string required
public PowerPointTextBox? GetTextBox(string name) #

Retrieves a textbox by its name.

Parameters

name string required
public byte[]? GetTransitionSoundBytes() #

Returns the exact embedded transition sound bytes, when present.

Returns

byte[]?
public PowerPointGroupShape GroupShapes(IEnumerable<PowerPointShape> shapes, string? name = null) #

Groups shapes into a single group shape.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
name string? = null optional
public void Hide() #

Hides the slide in slide show mode.

public bool RemoveAnimation(uint timingId) #

Removes exactly one typed action by common timing id. Unrelated siblings and unmodeled producer sequences are retained.

Parameters

timingId uint required

Returns

bool
public bool RemoveClassicAnimation(PowerPointShape shape) #

Removes the classic animation attached to a shape.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required

Returns

bool
public void RemoveShape(PowerPointShape shape) #

Removes the specified shape from the slide.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
public int ReplaceAll(string text, string replacement, PowerPointTextSearchOptions? options = null) #

Replaces literal text in the slide's textboxes and, by default, its table cells.

Parameters

text string required
Text to find.
replacement string required
Replacement text; null removes each match.
options OfficeIMO.PowerPoint.PowerPointTextSearchOptions? = null optional
Comparison settings and scope. null matches ordinally, ignoring case, inside or across words, in textboxes and tables but not notes.

Returns

int The number of replaced matches.
ResizeShapes 2 overloads
public void ResizeShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeSizeDimension dimension, PowerPointShapeSizeReference reference = First) #

Resizes shapes using the specified reference strategy.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
dimension OfficeIMO.PowerPoint.PowerPointShapeSizeDimension required
reference OfficeIMO.PowerPoint.PowerPointShapeSizeReference = First optional
public void ResizeShapes(IEnumerable<PowerPointShape> shapes, OfficeLength? width, OfficeLength? height) #

Resizes shapes to explicit dimensions, leaving each null dimension unchanged.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
width OfficeIMO.OfficeLength? required
Nonnegative width, or null to retain each shape's current width. Zero is permitted.
height OfficeIMO.OfficeLength? required
Nonnegative height, or null to retain each shape's current height. Zero is permitted.
SaveAsImage 2 overloads
public OfficeConversionReport SaveAsImage(string path, PowerPointImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Writes the slide to a file and returns its fidelity report.

Parameters

path string required
options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeConversionReport
public OfficeConversionReport SaveAsImage(Stream stream, PowerPointImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Writes the slide to a caller-owned stream and returns its fidelity report.

Parameters

stream System.IO.Stream required
options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeConversionReport
SaveAsImageAsync 2 overloads
public async Task<OfficeConversionReport> SaveAsImageAsync(string path, PowerPointImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Asynchronously writes the slide to a file and returns its fidelity report.

Parameters

path string required
options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<OfficeConversionReport>
public async Task<OfficeConversionReport> SaveAsImageAsync(Stream stream, PowerPointImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Asynchronously writes the slide to a caller-owned stream and returns its fidelity report.

Parameters

stream System.IO.Stream required
options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<OfficeConversionReport>
public void SendBackward(PowerPointShape shape) #

Moves the shape one step backward in z-order.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
public void SendToBack(PowerPointShape shape) #

Moves the shape to the back (bottom) of the z-order.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
public bool SetAnimationDuration(uint timingId, uint durationMilliseconds) #

Changes duration on any typed or imported action with a common timing id.

Parameters

timingId uint required
durationMilliseconds uint required

Returns

bool
public void SetBackgroundColor(OfficeColor color) #

Sets a solid background, preserving native theme references and literal transparency.

Parameters

color OfficeIMO.OfficeColor required
public void SetBackgroundGradient(OfficeColor startColor, OfficeColor endColor, double angleDegrees = 135) #

Sets a linear gradient background, retaining theme roles and color opacity.

Parameters

startColor OfficeIMO.OfficeColor required
endColor OfficeIMO.OfficeColor required
angleDegrees double = 135 optional
SetBackgroundImage 2 overloads
public void SetBackgroundImage(string imagePath) #

Sets a background image for the slide.

Parameters

imagePath string required
public void SetBackgroundImage(Stream image, OfficeImageFormat imageType) #

Sets a background image for the slide from a readable image stream.

Parameters

image System.IO.Stream required
Stream containing the image data.
imageType OfficeIMO.Drawing.OfficeImageFormat required
Image format of the stream.
public void SetBackgroundNoFill() #

Sets an explicit no-fill slide background, overriding inherited theme fills.

SetClassicAnimationSound 2 overloads
public void SetClassicAnimationSound(PowerPointShape shape, string audioPath, bool stopExistingSounds = false) #

Sets the embedded WAV or AIFF sound played with a shape's classic animation.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
audioPath string required
stopExistingSounds bool = false optional
public void SetClassicAnimationSound(PowerPointShape shape, Stream audio, string name, string contentType = "audio/wav", string extension = ".wav", bool stopExistingSounds = false) #

Sets the embedded WAV or AIFF sound played with a shape's classic animation.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
audio System.IO.Stream required
name string required
contentType string = "audio/wav" optional
extension string = ".wav" optional
stopExistingSounds bool = false optional
public void SetClassicAnimationStopsSound(PowerPointShape shape, bool value) #

Controls whether existing sounds stop when a shape's classic animation starts.

Parameters

shape OfficeIMO.PowerPoint.PowerPointShape required
value bool required
SetLayout 4 overloads
public void SetLayout(int masterIndex, int layoutIndex) #

Sets the slide layout using master and layout indexes.

Parameters

masterIndex int required
layoutIndex int required
public void SetLayout(PowerPointSlideLayout layout) #

Moves the slide to another layout of the same presentation. Slide content is kept; placeholders are matched to the new layout's by type and index.

Parameters

layout OfficeIMO.PowerPoint.PowerPointSlideLayout required
public void SetLayout(PowerPointSlideLayoutType layoutType, int masterIndex = 0) #

Sets the slide layout using a layout type.

Parameters

layoutType OfficeIMO.PowerPoint.PowerPointSlideLayoutType required
masterIndex int = 0 optional
public void SetLayout(string layoutName, int masterIndex = 0, bool ignoreCase = true) #

Sets the slide layout using a layout name.

Parameters

layoutName string required
masterIndex int = 0 optional
ignoreCase bool = true optional
SetTransitionSound 2 overloads
public void SetTransitionSound(string audioPath, bool loop = false) #

Sets an embedded WAV or AIFF transition sound from a file.

Parameters

audioPath string required
loop bool = false optional
public void SetTransitionSound(Stream audio, string name, string contentType = "audio/wav", string extension = ".wav", bool loop = false) #

Sets an embedded WAV or AIFF transition sound.

Parameters

audio System.IO.Stream required
name string required
contentType string = "audio/wav" optional
extension string = ".wav" optional
loop bool = false optional
public void Show() #

Shows the slide in slide show mode.

StackGroupChildren 2 overloads
public void StackGroupChildren(PowerPointGroupShape groupShape, PowerPointShapeStackDirection direction, OfficeLength spacing) #

Stacks child shapes within the group's bounds.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
Group whose children are arranged in their native child coordinate space.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
public void StackGroupChildren(PowerPointGroupShape groupShape, PowerPointShapeStackDirection direction, PowerPointShapeStackOptions? options) #

Stacks child shapes within the group's bounds using options.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required
Group whose children are arranged in their native child coordinate space.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
options OfficeIMO.PowerPoint.PowerPointShapeStackOptions? required
Layout settings, or null to use the default settings.
StackShapes 9 overloads
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing) #

Stacks shapes within their selection bounds using a fixed spacing.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, PowerPointShapeAlignment alignment) #

Stacks shapes within their selection bounds using a fixed spacing and alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, PowerPointShapeStackJustify justify) #

Stacks shapes within their selection bounds using a fixed spacing and justification.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify required
Position of the stack along its main axis.
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, PowerPointShapeAlignment alignment, PowerPointShapeStackJustify justify) #

Stacks shapes within their selection bounds using a fixed spacing, alignment, and justification.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify required
Position of the stack along its main axis.
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, PowerPointLayoutBox bounds, OfficeLength spacing) #

Stacks shapes within a custom bounding box using a fixed spacing.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, PowerPointLayoutBox bounds, OfficeLength spacing, PowerPointShapeAlignment alignment) #

Stacks shapes within a custom bounding box using a fixed spacing and alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, PowerPointLayoutBox bounds, OfficeLength spacing, PowerPointShapeStackJustify justify) #

Stacks shapes within a custom bounding box using a fixed spacing and justification.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify required
Position of the stack along its main axis.
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, PowerPointLayoutBox bounds, OfficeLength spacing, PowerPointShapeAlignment alignment, PowerPointShapeStackJustify justify) #

Stacks shapes within a custom bounding box using a fixed spacing, alignment, and justification.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify required
Position of the stack along its main axis.
public void StackShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, PowerPointLayoutBox bounds, PowerPointShapeStackOptions? options) #

Stacks shapes within a custom bounding box using options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
bounds OfficeIMO.PowerPoint.PowerPointLayoutBox required
Target region; positions may be signed and dimensions must be nonnegative.
options OfficeIMO.PowerPoint.PowerPointShapeStackOptions? required
Layout settings, or null to use the default settings.
StackShapesToSlide 5 overloads
public void StackShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing) #

Stacks shapes within the slide bounds using a fixed spacing.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
public void StackShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, PowerPointShapeAlignment alignment) #

Stacks shapes within the slide bounds using a fixed spacing and alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
public void StackShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, PowerPointShapeStackJustify justify) #

Stacks shapes within the slide bounds using a fixed spacing and justification.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify required
Position of the stack along its main axis.
public void StackShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, PowerPointShapeAlignment alignment, PowerPointShapeStackJustify justify) #

Stacks shapes within the slide bounds using a fixed spacing, alignment, and justification.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify required
Position of the stack along its main axis.
public void StackShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, PowerPointShapeStackOptions? options) #

Stacks shapes within the slide bounds using options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
options OfficeIMO.PowerPoint.PowerPointShapeStackOptions? required
Layout settings, or null to use the default settings.
StackShapesToSlideContent 5 overloads
public void StackShapesToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, OfficeLength margin) #

Stacks shapes within the slide content bounds using a margin.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
public void StackShapesToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, OfficeLength margin, PowerPointShapeAlignment alignment) #

Stacks shapes within the slide content bounds using a margin and alignment.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
public void StackShapesToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, OfficeLength margin, PowerPointShapeStackJustify justify) #

Stacks shapes within the slide content bounds using a margin and justification.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify required
Position of the stack along its main axis.
public void StackShapesToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength spacing, OfficeLength margin, PowerPointShapeAlignment alignment, PowerPointShapeStackJustify justify) #

Stacks shapes within the slide content bounds using a margin, alignment, and justification.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
spacing OfficeIMO.OfficeLength required
Nonnegative distance between adjacent shapes.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment required
Alignment within the bounds on the applicable axis.
justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify required
Position of the stack along its main axis.
public void StackShapesToSlideContent(IEnumerable<PowerPointShape> shapes, PowerPointShapeStackDirection direction, OfficeLength margin, PowerPointShapeStackOptions? options) #

Stacks shapes within the slide content bounds using a margin and options.

Parameters

shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape> required
Shapes to arrange; null entries are ignored.
direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection required
Axis along which the stack grows.
margin OfficeIMO.OfficeLength required
Nonnegative inset on every side of the slide.
options OfficeIMO.PowerPoint.PowerPointShapeStackOptions? required
Layout settings, or null to use the default settings.
public void StopTransitionSound() #

Stops any currently playing transition sound on entry to this slide.

ToImage 3 overloads
public OfficeImageExportResult ToImage(PowerPointImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Renders the slide using the encoding in OfficeImageExportOptions.Format.

Parameters

options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeImageExportResult
public OfficeImageExportResult ToImage(PowerPointImageExportOptions? options, out OfficeConversionReport report, CancellationToken cancellationToken = default) #

Renders the slide and returns its immutable fidelity report.

Parameters

options OfficeIMO.PowerPoint.PowerPointImageExportOptions? required
report OfficeIMO.OfficeConversionReport required
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeImageExportResult
public OfficeImageExportResult ToImage(OfficeImageExportFormat format, PowerPointImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Exports this slide as a supported raster format or SVG.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat required
options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

OfficeImageExportResult
public async Task<OfficeImageExportResult> ToImageAsync(PowerPointImageExportOptions? options = null, CancellationToken cancellationToken = default) #

Renders the slide with cancellation and returns the encoded image and its diagnostics.

Parameters

options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<OfficeImageExportResult>
public bool TryGetShapeByName(string name, out PowerPointShape? shape, bool ignoreCase = false) #

Attempts to retrieve a shape by name.

Parameters

name string required
shape OfficeIMO.PowerPoint.PowerPointShape? required
ignoreCase bool = false optional

Returns

bool
public bool TryGetShapeByName<T>(string name, out T? shape, bool ignoreCase = false) #

Attempts to retrieve a typed shape by name.

Type Parameters

T

Parameters

name string required
shape T? required
ignoreCase bool = false optional

Returns

bool
public IReadOnlyList<PowerPointShape> UngroupShape(PowerPointGroupShape groupShape) #

Ungroups a group shape back into its child shapes.

Parameters

groupShape OfficeIMO.PowerPoint.PowerPointGroupShape required

Returns

IReadOnlyList<PowerPointShape>

Properties

public OfficeColor? BackgroundColor { get; set; } #

Gets or sets the local solid background color, retaining native theme slots and opacity.

public IReadOnlyList<PowerPointClassicAnimation> ClassicAnimations { get; } #

Gets the editable classic animations authored by OfficeIMO or imported from binary PPT.

public IReadOnlyList<PowerPointShape> Shapes { get; } #

Collection of shapes on the slide.

public IEnumerable<PowerPointTextBox> TextBoxes { get; } #

Enumerates all textbox shapes on the slide.

public IEnumerable<PowerPointImage> Images { get; } #

Enumerates all image shapes on the slide.

public IEnumerable<PowerPointMedia> Media { get; } #

Enumerates all embedded audio and video media shapes on the slide.

public IEnumerable<PowerPointTable> Tables { get; } #

Enumerates all table shapes on the slide.

public IEnumerable<PowerPointChart> Charts { get; } #

Enumerates all charts on the slide.

public IEnumerable<PowerPointSmartArt> SmartArts { get; } #

Enumerates all SmartArt diagrams on the slide.

public IEnumerable<PowerPointOleObject> OleObjects { get; } #

Enumerates all embedded OLE compound objects on the slide.

public PowerPointNotes Notes { get; } #

Notes associated with the slide.

public int Index { get; } #

Zero-based position in the owning presentation, or -1 for a detached slide.

public int LayoutIndex { get; } #

Gets the index of the layout used by this slide.

public PowerPointSlideLayout? Layout { get; } #

The layout this slide uses, or null when the slide has no layout.

public IReadOnlyList<PowerPointTextBox> Placeholders { get; } #

Textboxes that map to placeholders in the slide layout.

public string? Name { get; set; } #

Gets or sets the authored slide name stored in common slide data.

public bool HasSpeakerNotes { get; } #

Whether the slide already contains a speaker-notes part.

public PowerPointSlideTransition Transition { get; set; } #

Transition applied when moving to this slide.

public PowerPointSlideTransitionSpeed? TransitionSpeed { get; set; } #

Gets or sets the optional transition playback speed.

public double? TransitionDurationSeconds { get; set; } #

Gets or sets the optional transition duration in seconds.

public bool? TransitionAdvanceOnClick { get; set; } #

Gets or sets whether clicking advances the slide.

public double? TransitionAdvanceAfterSeconds { get; set; } #

Gets or sets the optional automatic-advance time in seconds.

public bool HasTransitionSound { get; } #

Gets whether this slide starts an embedded transition sound.

public string? TransitionSoundName { get; } #

Gets the embedded transition sound name, when present.

public bool TransitionSoundLoops { get; } #

Gets whether the embedded transition sound loops.

public bool TransitionStopsSound { get; } #

Gets whether this transition stops the currently playing sound.

public bool Hidden { get; set; } #

Gets or sets whether the slide is hidden in slide show mode.