PowerPointSlide
OfficeIMO.PowerPoint
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.
Returned or exposed by 12
- Property PowerPointCompositionResult.Slides
- Property PowerPointCustomShow.Slides
- Method PowerPointDocument.AddSlide
- Method PowerPointDocument.AddSlides
- Method PowerPointDocument.DuplicateSlide
- Method PowerPointDocument.ImportSlide
- Method PowerPointDocument.ImportSlides
- Property PowerPointDocument.Slides
- Property PowerPointPaginatedTableResult.Slides
- Property PowerPointSlideCompositionContext.Slide
- Property PowerPointSlideLayout.Slides
- Property PowerPointTablePaginationOptions.ConfigureSlide
Accepted by parameters 21
- Method PowerPointAutoShape.SetHyperlink
- Method PowerPointChart.SetHyperlink
- Method PowerPointConnectionShape.SetHyperlink
- Method PowerPointCustomShow.AddSlide
- Method PowerPointCustomShow.InsertSlide
- Method PowerPointCustomShow.RemoveSlide
- Method PowerPointCustomShow.SetSlides
- Method PowerPointDocument.AddClassicComment
- Method PowerPointDocument.AddCustomShow
- Method PowerPointDocument.AddModernComment
- Method PowerPointDocument.GetClassicComments
- Method PowerPointDocument.GetModernComments
- Method PowerPointGroupShape.SetHyperlink
- Method PowerPointImage.SetHyperlink
- Method PowerPointMedia.SetHyperlink
- Method PowerPointOleObject.SetHyperlink
- Method PowerPointShape.SetHyperlink
- Method PowerPointSmartArt.SetHyperlink
- Method PowerPointTable.SetHyperlink
- Method PowerPointTextBox.SetHyperlink
- Method PowerPointTextRun.SetHyperlink
Methods
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
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointMediapublic 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
- contentType string
- extension string
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointMediapublic PowerPointChart AddChart(OfficeChartType chartKind, OfficeChartData data) #Adds an editable native chart with the format's default title, size and placement.
Parameters
- chartKind OfficeIMO.OfficeChartType
- data OfficeIMO.Drawing.OfficeChartData
Returns
PowerPointChartpublic 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
- data OfficeIMO.Drawing.OfficeChartData
- options OfficeIMO.OfficeChartOptions?
Returns
PowerPointChartpublic 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
- data System.Collections.Generic.IEnumerable<T?>
- category string
- series string[]
Returns
PowerPointChartpublic 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
- data System.Collections.Generic.IEnumerable<T?>
- category string
- options OfficeIMO.OfficeChartOptions?
- series string[]
Returns
PowerPointChartpublic 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
- data System.Collections.Generic.IEnumerable<T?>
- category System.Func<T?, TCategory?>
- series OfficeIMO.OfficeSeries[]
Returns
PowerPointChartpublic 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
- data System.Collections.Generic.IEnumerable<T?>
- category System.Func<T?, TCategory?>
- options OfficeIMO.OfficeChartOptions?
- series OfficeIMO.OfficeSeries[]
Returns
PowerPointChartpublic 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
- effect OfficeIMO.PowerPoint.PowerPointClassicAnimationEffect
- options OfficeIMO.PowerPoint.PowerPointClassicAnimationOptions? = null
Returns
PowerPointClassicAnimationpublic PowerPointTimelineAction AddCommandAnimation(PowerPointShape shape, string command, PowerPointTimelineOptions? options = null) #Adds a native command action targeted at a shape.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
- command string
- options OfficeIMO.PowerPoint.PowerPointTimelineOptions? = null
Returns
PowerPointTimelineActionpublic 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
- command string
- type OfficeIMO.PowerPoint.PowerPointAnimationCommand
- options OfficeIMO.PowerPoint.PowerPointTimelineOptions? = null
Returns
PowerPointTimelineActionpublic 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
- to OfficeIMO.PowerPoint.PowerPointShape
- kind OfficeIMO.PowerPoint.PowerPointConnectorKind
Returns
PowerPointConnectionShapepublic 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
- fromSite int
- to OfficeIMO.PowerPoint.PowerPointShape
- toSite int
- kind OfficeIMO.PowerPoint.PowerPointConnectorKind
Returns
PowerPointConnectionShapepublic PowerPointConnectionShape AddConnector(OfficeLength startX, OfficeLength startY, OfficeLength endX, OfficeLength endY, PowerPointConnectorKind kind) #Adds a free connector between two points.
Parameters
- startX OfficeIMO.OfficeLength
- startY OfficeIMO.OfficeLength
- endX OfficeIMO.OfficeLength
- endY OfficeIMO.OfficeLength
- kind OfficeIMO.PowerPoint.PowerPointConnectorKind
Returns
PowerPointConnectionShapepublic 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
- left OfficeIMO.OfficeLength
- top OfficeIMO.OfficeLength
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- name string? = null
Returns
PowerPointAutoShapepublic PowerPointAutoShape AddEllipse(OfficeLength left, OfficeLength top, OfficeLength width, OfficeLength height, string? name = null) #Adds an ellipse shape.
Parameters
- left OfficeIMO.OfficeLength
- top OfficeIMO.OfficeLength
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- name string? = null
Returns
PowerPointAutoShapepublic 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
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointImagepublic 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
- Stream containing the image data.
- imageType OfficeIMO.Drawing.OfficeImageFormat
- Image format of the stream.
- left OfficeIMO.OfficeLength? = null
- Left position as a physical length.
- top OfficeIMO.OfficeLength? = null
- Top position as a physical length.
- width OfficeIMO.OfficeLength? = null
- Width as a physical length.
- height OfficeIMO.OfficeLength? = null
- Height as a physical length.
Returns
PowerPointImagepublic PowerPointImage AddImage(string imagePath, PowerPointLayoutBox layout) #Adds an image using a layout box.
Parameters
- imagePath string
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointImagepublic PowerPointImage AddImage(Stream image, OfficeImageFormat imageType, PowerPointLayoutBox layout) #Adds an image from a stream using a layout box.
Parameters
- image System.IO.Stream
- imageType OfficeIMO.Drawing.OfficeImageFormat
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointImagepublic 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
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointImagepublic 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
- startY OfficeIMO.OfficeLength
- endX OfficeIMO.OfficeLength
- endY OfficeIMO.OfficeLength
- name string? = null
Returns
PowerPointAutoShapepublic 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
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointMediapublic 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
- progId string
- autoUpdate bool = false
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointOleObjectpublic 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
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointMediapublic 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
- path string
- options OfficeIMO.PowerPoint.PowerPointTimelineOptions? = null
Returns
PowerPointTimelineActionpublic 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
- progId string
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
- contentType string = "application/vnd.openxmlformats-officedocument.oleObject"
Returns
PowerPointOleObjectpublic PowerPointAutoShape AddRectangle(OfficeLength left, OfficeLength top, OfficeLength width, OfficeLength height, string? name = null) #Adds a rectangle shape.
Parameters
- left OfficeIMO.OfficeLength
- top OfficeIMO.OfficeLength
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- name string? = null
Returns
PowerPointAutoShapepublic PowerPointTimelineAction AddRotationAnimation(PowerPointShape shape, double degrees, PowerPointTimelineOptions? options = null) #Adds a native rotation action without replacing the existing timeline.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
- degrees double
- options OfficeIMO.PowerPoint.PowerPointTimelineOptions? = null
Returns
PowerPointTimelineActionpublic 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
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
- name string? = null
Returns
PowerPointAutoShapepublic 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
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointSmartArtpublic 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
- nodeTexts System.Collections.Generic.IEnumerable<string>
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointSmartArtpublic PowerPointSmartArt AddSmartArt(PowerPointSmartArtType type, PowerPointLayoutBox layout) #Adds a native SmartArt diagram to the slide using a layout box.
Parameters
- type OfficeIMO.PowerPoint.PowerPointSmartArtType
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointSmartArtpublic PowerPointSmartArt AddSmartArt(PowerPointSmartArtType type, IEnumerable<string> nodeTexts, PowerPointLayoutBox layout) #Adds populated native SmartArt using a layout box.
Parameters
- type OfficeIMO.PowerPoint.PowerPointSmartArtType
- nodeTexts System.Collections.Generic.IEnumerable<string>
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointSmartArtpublic 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
- columns int
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointTablepublic 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
- columns int
- preset OfficeIMO.PowerPoint.PowerPointTableStylePreset
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointTablepublic 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
- columns int
- styleName string
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
- ignoreCase bool = true
- firstRow bool? = null
- lastRow bool? = null
- firstColumn bool? = null
- lastColumn bool? = null
- bandedRows bool? = null
- bandedColumns bool? = null
Returns
PowerPointTablepublic PowerPointTable AddTable(int rows, int columns, PowerPointLayoutBox layout) #Adds a table using a layout box.
Parameters
- rows int
- columns int
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointTablepublic 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?>
- configure System.Action<OfficeIMO.Data.ObjectFlattenerOptions>?
- includeHeaders bool = true
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointTablepublic 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?>
- columns System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTableColumn<T?>>
- includeHeaders bool = true
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointTablepublic 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?>
- columns System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTableColumn<T?>>
- preset OfficeIMO.PowerPoint.PowerPointTableStylePreset
- includeHeaders bool = true
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointTablepublic 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?>
- columns System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTableColumn<T?>>
- styleName string
- includeHeaders bool = true
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
- ignoreCase bool = true
- firstRow bool? = null
- lastRow bool? = null
- firstColumn bool? = null
- lastColumn bool? = null
- bandedRows bool? = null
- bandedColumns bool? = null
Returns
PowerPointTablepublic 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?>
- columns System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointTableColumn<T?>>
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- includeHeaders bool = true
Returns
PowerPointTablepublic 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?>
- options OfficeIMO.OfficeTableOptions? = null
Returns
PowerPointTablepublic 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
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointTextBoxpublic PowerPointTextBox AddTextBox(string text, PowerPointLayoutBox layout) #Adds a textbox using a layout box.
Parameters
- text string
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointTextBoxpublic PowerPointTextBox AddTextBox(PowerPointLayoutBox layout) #Adds an empty textbox using a layout box.
Parameters
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointTextBoxpublic 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
- text string
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
- name string? = null
Returns
PowerPointTextBoxpublic 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
- text string
Returns
PowerPointTextBoxpublic 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
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointTextBoxpublic PowerPointTextBox AddTitle(string text, PowerPointLayoutBox layout) #Adds a title textbox using a layout box.
Parameters
- text string
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
Returns
PowerPointTextBoxpublic 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
- posterImagePath string? = null
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
Returns
PowerPointMediapublic 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
- contentType string
- extension string
- left OfficeIMO.OfficeLength? = null
- top OfficeIMO.OfficeLength? = null
- width OfficeIMO.OfficeLength? = null
- height OfficeIMO.OfficeLength? = null
- posterImage System.IO.Stream? = null
- posterImageType OfficeIMO.Drawing.OfficeImageFormat = Png
Returns
PowerPointMediapublic void AlignGroupChildren(PowerPointGroupShape groupShape, PowerPointShapeAlignment alignment) #Aligns child shapes within the group's bounds.
Parameters
- groupShape OfficeIMO.PowerPoint.PowerPointGroupShape
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
public void AlignShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeAlignment alignment) #Aligns shapes within their selection bounds.
Parameters
- shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape>
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
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>
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
public void AlignShapesToSlide(IEnumerable<PowerPointShape> shapes, PowerPointShapeAlignment alignment) #Aligns shapes within the full slide bounds.
Parameters
- shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape>
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
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>
- Shapes to arrange; null entries are ignored.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- margin OfficeIMO.OfficeLength
- 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
- Group whose children are arranged in their native child coordinate space.
- columns int
- Number of grid columns, greater than zero.
- rows int
- Number of grid rows, greater than zero.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- Order used to fill grid cells.
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
- Group whose children are arranged in their native child coordinate space.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- 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
- Group whose children are arranged in their native child coordinate space.
- options OfficeIMO.PowerPoint.PowerPointShapeGridOptions?
- Layout settings, or null to use the default settings.
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>
- Shapes to arrange; null entries are ignored.
- columns int
- Number of grid columns, greater than zero.
- rows int
- Number of grid rows, greater than zero.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- 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>
- Shapes to arrange; null entries are ignored.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- columns int
- Number of grid columns, greater than zero.
- rows int
- Number of grid rows, greater than zero.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- Order used to fill grid cells.
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>
- Shapes to arrange; null entries are ignored.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- 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>
- Shapes to arrange; null entries are ignored.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- 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>
- Shapes to arrange; null entries are ignored.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- options OfficeIMO.PowerPoint.PowerPointShapeGridOptions?
- Layout settings, or null to use the default settings.
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>
- Shapes to arrange; null entries are ignored.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- 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>
- Shapes to arrange; null entries are ignored.
- options OfficeIMO.PowerPoint.PowerPointShapeGridOptions?
- Layout settings, or null to use the default settings.
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>
- Shapes to arrange; null entries are ignored.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- 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>
- Shapes to arrange; null entries are ignored.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- options OfficeIMO.PowerPoint.PowerPointShapeGridOptions?
- 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>
- Shapes to arrange; null entries are ignored.
- columns int
- Number of grid columns, greater than zero.
- rows int
- Number of grid rows, greater than zero.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- 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>
- Shapes to arrange; null entries are ignored.
- columns int
- Number of grid columns, greater than zero.
- rows int
- Number of grid rows, greater than zero.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- gutterX OfficeIMO.OfficeLength = default
- Nonnegative horizontal gap between cells. The default is zero.
- gutterY OfficeIMO.OfficeLength = default
- Nonnegative vertical gap between cells. The default is zero.
- resizeToCell bool = true
- Whether each shape is resized to its grid cell.
- flow OfficeIMO.PowerPoint.PowerPointShapeGridFlow = RowMajor
- 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
public void BringToFront(PowerPointShape shape) #Moves the shape to the front (top) of the z-order.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
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
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
Returns
PowerPointSlideVisualInfopublic void DistributeGroupChildren(PowerPointGroupShape groupShape, PowerPointShapeDistribution distribution) #Distributes child shapes within the group's bounds.
Parameters
- groupShape OfficeIMO.PowerPoint.PowerPointGroupShape
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
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
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
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
- Group whose children are arranged in their native child coordinate space.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- center bool = false
- 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
- Group whose children are arranged in their native child coordinate space.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions?
- Layout settings, or null to use the default settings.
public void DistributeShapes(IEnumerable<PowerPointShape> shapes, PowerPointShapeDistribution distribution) #Distributes shapes evenly within their selection bounds.
Parameters
- shapes System.Collections.Generic.IEnumerable<OfficeIMO.PowerPoint.PowerPointShape>
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
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>
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
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>
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
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>
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
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>
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
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>
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- center bool = false
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions?
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- center bool = false
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions?
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment on the axis perpendicular to distribution.
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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- center bool = false
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions?
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment on the axis perpendicular to distribution.
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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- center bool = false
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- options OfficeIMO.PowerPoint.PowerPointShapeSpacingOptions?
- 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>
- Shapes to arrange; null entries are ignored.
- distribution OfficeIMO.PowerPoint.PowerPointShapeDistribution
- Axis along which shapes are distributed.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- crossAxisAlignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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
- offsetX OfficeIMO.OfficeLength = default
- offsetY OfficeIMO.OfficeLength = default
Returns
PowerPointShapepublic 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>
- includeHidden bool = false
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>
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- preserveAspect bool = false
- center bool = false
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>
- preserveAspect bool = false
- center bool = false
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>
- Shapes to arrange; null entries are ignored.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- preserveAspect bool = false
- Whether to retain each shape's aspect ratio when scaling.
- center bool = false
- Whether to center the arranged shapes within the target bounds.
public PowerPointSlideBackground GetBackground() #Returns a detached snapshot of the slide background fill that exporters can consume without Open XML coupling.
Returns
PowerPointSlideBackgroundpublic PowerPointSlideBackground GetBackground(int maximumImageBytes) #Returns a detached slide-background snapshot with a bound on embedded image bytes.
Parameters
- maximumImageBytes int
Returns
PowerPointSlideBackgroundpublic PowerPointChart? GetChart(string name) #Retrieves a chart by its name.
Parameters
- name string
Returns
PowerPointChart?public byte[]? GetClassicAnimationSoundBytes(PowerPointShape shape) #Returns the exact embedded classic-animation sound bytes, when present.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
Returns
byte[]?public IReadOnlyList<PowerPointChart> GetGroupCharts(PowerPointGroupShape groupShape) #Returns the child charts of a group shape.
Parameters
- groupShape OfficeIMO.PowerPoint.PowerPointGroupShape
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
- 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
Returns
IReadOnlyList<PowerPointShape>public IReadOnlyList<PowerPointImage> GetGroupImages(PowerPointGroupShape groupShape) #Returns the child images of a group shape.
Parameters
- groupShape OfficeIMO.PowerPoint.PowerPointGroupShape
Returns
IReadOnlyList<PowerPointImage>public IReadOnlyList<PowerPointTable> GetGroupTables(PowerPointGroupShape groupShape) #Returns the child tables of a group shape.
Parameters
- groupShape OfficeIMO.PowerPoint.PowerPointGroupShape
Returns
IReadOnlyList<PowerPointTable>public IReadOnlyList<PowerPointTextBox> GetGroupTextBoxes(PowerPointGroupShape groupShape) #Returns the child textboxes of a group shape.
Parameters
- groupShape OfficeIMO.PowerPoint.PowerPointGroupShape
Returns
IReadOnlyList<PowerPointTextBox>public PowerPointImage? GetImage(string name) #Retrieves an image by its name.
Parameters
- name string
Returns
PowerPointImage?public PowerPointSlideLayoutInfo? GetLayoutInfo() #Inspects the current layout and owning master without modifying the package.
public PowerPointLayoutPlaceholderInfo? GetLayoutPlaceholder(PowerPointPlaceholderType placeholderType, uint? index = null) #Retrieves a layout placeholder by type and optional index.
Parameters
- placeholderType OfficeIMO.PowerPoint.PowerPointPlaceholderType
- index uint? = null
Returns
PowerPointLayoutPlaceholderInfo?public PowerPointLayoutBox? GetLayoutPlaceholderBounds(PowerPointPlaceholderType placeholderType, uint? index = null) #Retrieves layout placeholder bounds by type and optional index.
Parameters
- placeholderType OfficeIMO.PowerPoint.PowerPointPlaceholderType
- index uint? = null
Returns
PowerPointLayoutBox?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
Returns
PowerPointOleObject?public PowerPointTextBox? GetPlaceholder(PowerPointPlaceholderType placeholderType, uint? index = null) #Retrieves the first placeholder textbox matching the specified type.
Parameters
- placeholderType OfficeIMO.PowerPoint.PowerPointPlaceholderType
- index uint? = null
Returns
PowerPointTextBox?public PowerPointShape? GetShape(string name) #Retrieves a shape by its name.
Parameters
- name string
Returns
PowerPointShape?public PowerPointShape? GetShapeById(uint id) #Retrieves a shape by its non-visual drawing identifier.
Parameters
- id uint
Returns
PowerPointShape?public T? GetShapeById<T>(uint id) #Retrieves a typed shape by its non-visual drawing identifier.
Type Parameters
- T
Parameters
- id uint
Returns
T?public PowerPointShape? GetShapeByName(string name, bool ignoreCase = false) #Retrieves a shape by name, optionally using case-insensitive comparison.
Parameters
- name string
- ignoreCase bool = false
Returns
PowerPointShape?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
- ignoreCase bool = false
Returns
T?public IReadOnlyList<PowerPointShape> GetShapesInBounds(PowerPointLayoutBox bounds, bool includePartial) #Retrieves shapes that are within or intersect the provided bounds.
Parameters
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- includePartial bool
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
- top OfficeIMO.OfficeLength
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- includePartial bool = true
Returns
IReadOnlyList<PowerPointShape>public string GetSpeakerNotesText() #Reads existing speaker-note text without creating a notes part as a side effect.
Returns
stringpublic PowerPointTable? GetTable(string name) #Retrieves a table by its name.
Parameters
- name string
Returns
PowerPointTable?public PowerPointTextBox? GetTextBox(string name) #Retrieves a textbox by its name.
Parameters
- name string
Returns
PowerPointTextBox?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>
- name string? = null
Returns
PowerPointGroupShapepublic bool RemoveAnimation(uint timingId) #Removes exactly one typed action by common timing id. Unrelated siblings and unmodeled producer sequences are retained.
Parameters
- timingId uint
Returns
boolpublic bool RemoveClassicAnimation(PowerPointShape shape) #Removes the classic animation attached to a shape.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
Returns
boolpublic void RemoveShape(PowerPointShape shape) #Removes the specified shape from the slide.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
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
- Text to find.
- replacement string
- Replacement text; null removes each match.
- options OfficeIMO.PowerPoint.PowerPointTextSearchOptions? = null
- 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.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>
- dimension OfficeIMO.PowerPoint.PowerPointShapeSizeDimension
- reference OfficeIMO.PowerPoint.PowerPointShapeSizeReference = First
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>
- Shapes to arrange; null entries are ignored.
- width OfficeIMO.OfficeLength?
- Nonnegative width, or null to retain each shape's current width. Zero is permitted.
- height OfficeIMO.OfficeLength?
- Nonnegative height, or null to retain each shape's current height. Zero is permitted.
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
- options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeConversionReportpublic 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
- options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeConversionReportpublic 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
- options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
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
- options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<OfficeConversionReport>public void SendBackward(PowerPointShape shape) #Moves the shape one step backward in z-order.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
public void SendToBack(PowerPointShape shape) #Moves the shape to the back (bottom) of the z-order.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
public bool SetAnimationDuration(uint timingId, uint durationMilliseconds) #Changes duration on any typed or imported action with a common timing id.
Parameters
- timingId uint
- durationMilliseconds uint
Returns
boolpublic void SetBackgroundColor(OfficeColor color) #Sets a solid background, preserving native theme references and literal transparency.
Parameters
- color OfficeIMO.OfficeColor
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
- endColor OfficeIMO.OfficeColor
- angleDegrees double = 135
public void SetBackgroundImage(string imagePath) #Sets a background image for the slide.
Parameters
- imagePath string
public void SetBackgroundImage(Stream image, OfficeImageFormat imageType) #Sets a background image for the slide from a readable image stream.
Parameters
- image System.IO.Stream
- Stream containing the image data.
- imageType OfficeIMO.Drawing.OfficeImageFormat
- Image format of the stream.
public void SetBackgroundNoFill() #Sets an explicit no-fill slide background, overriding inherited theme fills.
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
- audioPath string
- stopExistingSounds bool = false
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
- audio System.IO.Stream
- name string
- contentType string = "audio/wav"
- extension string = ".wav"
- stopExistingSounds bool = false
public void SetClassicAnimationStopsSound(PowerPointShape shape, bool value) #Controls whether existing sounds stop when a shape's classic animation starts.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
- value bool
public void SetLayout(int masterIndex, int layoutIndex) #Sets the slide layout using master and layout indexes.
Parameters
- masterIndex int
- layoutIndex int
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
public void SetLayout(PowerPointSlideLayoutType layoutType, int masterIndex = 0) #Sets the slide layout using a layout type.
Parameters
- layoutType OfficeIMO.PowerPoint.PowerPointSlideLayoutType
- masterIndex int = 0
public void SetLayout(string layoutName, int masterIndex = 0, bool ignoreCase = true) #Sets the slide layout using a layout name.
Parameters
- layoutName string
- masterIndex int = 0
- ignoreCase bool = true
public void SetTransitionSound(string audioPath, bool loop = false) #Sets an embedded WAV or AIFF transition sound from a file.
Parameters
- audioPath string
- loop bool = false
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
- name string
- contentType string = "audio/wav"
- extension string = ".wav"
- loop bool = false
public void StackGroupChildren(PowerPointGroupShape groupShape, PowerPointShapeStackDirection direction, OfficeLength spacing) #Stacks child shapes within the group's bounds.
Parameters
- groupShape OfficeIMO.PowerPoint.PowerPointGroupShape
- Group whose children are arranged in their native child coordinate space.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- 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
- Group whose children are arranged in their native child coordinate space.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- options OfficeIMO.PowerPoint.PowerPointShapeStackOptions?
- Layout settings, or null to use the default settings.
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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- spacing OfficeIMO.OfficeLength
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- bounds OfficeIMO.PowerPoint.PowerPointLayoutBox
- Target region; positions may be signed and dimensions must be nonnegative.
- options OfficeIMO.PowerPoint.PowerPointShapeStackOptions?
- Layout settings, or null to use the default settings.
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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- options OfficeIMO.PowerPoint.PowerPointShapeStackOptions?
- Layout settings, or null to use the default settings.
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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- margin OfficeIMO.OfficeLength
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- spacing OfficeIMO.OfficeLength
- Nonnegative distance between adjacent shapes.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- alignment OfficeIMO.PowerPoint.PowerPointShapeAlignment
- Alignment within the bounds on the applicable axis.
- justify OfficeIMO.PowerPoint.PowerPointShapeStackJustify
- 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>
- Shapes to arrange; null entries are ignored.
- direction OfficeIMO.PowerPoint.PowerPointShapeStackDirection
- Axis along which the stack grows.
- margin OfficeIMO.OfficeLength
- Nonnegative inset on every side of the slide.
- options OfficeIMO.PowerPoint.PowerPointShapeStackOptions?
- Layout settings, or null to use the default settings.
public void StopTransitionSound() #Stops any currently playing transition sound on entry to this slide.
public OfficeImageExportResult ToImage(PowerPointImageExportOptions? options = null, CancellationToken cancellationToken = default) #Renders the slide using the encoding in OfficeImageExportOptions.Format.
Parameters
- options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeImageExportResultpublic OfficeImageExportResult ToImage(PowerPointImageExportOptions? options, out OfficeConversionReport report, CancellationToken cancellationToken = default) #Renders the slide and returns its immutable fidelity report.
Parameters
- options OfficeIMO.PowerPoint.PowerPointImageExportOptions?
- report OfficeIMO.OfficeConversionReport
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeImageExportResultpublic 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
- options OfficeIMO.PowerPoint.PowerPointImageExportOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
OfficeImageExportResultpublic 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
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<OfficeImageExportResult>public bool TryGetShapeByName(string name, out PowerPointShape? shape, bool ignoreCase = false) #Attempts to retrieve a shape by name.
Parameters
- name string
- shape OfficeIMO.PowerPoint.PowerPointShape?
- ignoreCase bool = false
Returns
boolpublic 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
- shape T?
- ignoreCase bool = false
Returns
boolpublic IReadOnlyList<PowerPointShape> UngroupShape(PowerPointGroupShape groupShape) #Ungroups a group shape back into its child shapes.
Parameters
- groupShape OfficeIMO.PowerPoint.PowerPointGroupShape
Returns
IReadOnlyList<PowerPointShape>Inherited Methods
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 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.