OfficeIMO

API Reference

Class

PowerPointSlideBuilder

Namespace OfficeIMO.PowerPoint.Fluent
Assembly OfficeIMO.PowerPoint

Builder for slide content.

Inheritance

  • Object
  • PowerPointSlideBuilder

Methods

Bullets 4 overloads
public PowerPointSlideBuilder Bullets(params String[] bullets) #
Returns: PowerPointSlideBuilder

Adds a bulleted list to the slide.

Parameters

bullets System.String[] requiredposition: 0
public PowerPointSlideBuilder Bullets(Action<PowerPointTextBox> configure, params String[] bullets) #
Returns: PowerPointSlideBuilder

Adds a bulleted list to the slide using a layout box.

Parameters

layout OfficeIMO.PowerPoint.PowerPointLayoutBox requiredposition: 0
bullets System.String[] requiredposition: 1
Bullets(System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} configure, System.String[] bullets) #

Adds a bulleted list to the slide and applies configuration.

Parameters

configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} required
bullets System.String[] required
public PowerPointSlideBuilder Bullets(PowerPointLayoutBox layout, Action<PowerPointTextBox> configure, params String[] bullets) #
Returns: PowerPointSlideBuilder

Adds a bulleted list to the slide using a layout box and applies configuration.

Parameters

layout OfficeIMO.PowerPoint.PowerPointLayoutBox requiredposition: 0
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} requiredposition: 1
bullets System.String[] requiredposition: 2
public PowerPointFluentPresentation End() #
Returns: PowerPointFluentPresentation

Ends slide configuration and returns to the presentation builder.

public PowerPointSlideBuilder Hidden(Boolean hidden = true) #
Returns: PowerPointSlideBuilder

Sets whether the slide is hidden in slide show mode.

Parameters

hidden System.Boolean = true optionalposition: 0
public PowerPointSlideBuilder Hide() #
Returns: PowerPointSlideBuilder

Hides the slide in slide show mode.

Image 3 overloads
public PowerPointSlideBuilder Image(String imagePath, Action<PowerPointPicture> configure = null) #
Returns: PowerPointSlideBuilder

Adds an image from the given file path.

Parameters

imagePath System.String requiredposition: 0
configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null optionalposition: 1
public PowerPointSlideBuilder Image(String imagePath, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointPicture> configure = null) #
Returns: PowerPointSlideBuilder

Adds an image from the given file path at a position (EMU units).

Parameters

imagePath System.String requiredposition: 0
left System.Int64 requiredposition: 1
top System.Int64 requiredposition: 2
width System.Int64 requiredposition: 3
height System.Int64 requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null optionalposition: 5
public PowerPointSlideBuilder Image(String imagePath, PowerPointLayoutBox layout, Action<PowerPointPicture> configure = null) #
Returns: PowerPointSlideBuilder

Adds an image from the given file path using a layout box.

Parameters

imagePath System.String requiredposition: 0
layout OfficeIMO.PowerPoint.PowerPointLayoutBox requiredposition: 1
configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null optionalposition: 2
public PowerPointSlideBuilder ImageCm(String imagePath, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointPicture> configure = null) #
Returns: PowerPointSlideBuilder

Adds an image from the given file path at a position (centimeters).

Parameters

imagePath System.String requiredposition: 0
leftCm System.Double requiredposition: 1
topCm System.Double requiredposition: 2
widthCm System.Double requiredposition: 3
heightCm System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null optionalposition: 5
public PowerPointSlideBuilder ImageInches(String imagePath, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointPicture> configure = null) #
Returns: PowerPointSlideBuilder

Adds an image from the given file path at a position (inches).

Parameters

imagePath System.String requiredposition: 0
leftInches System.Double requiredposition: 1
topInches System.Double requiredposition: 2
widthInches System.Double requiredposition: 3
heightInches System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null optionalposition: 5
public PowerPointSlideBuilder ImagePoints(String imagePath, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointPicture> configure = null) #
Returns: PowerPointSlideBuilder

Adds an image from the given file path at a position (points).

Parameters

imagePath System.String requiredposition: 0
leftPoints System.Double requiredposition: 1
topPoints System.Double requiredposition: 2
widthPoints System.Double requiredposition: 3
heightPoints System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null optionalposition: 5
public PowerPointSlideBuilder Layout(Int32 masterIndex, Int32 layoutIndex) #
Returns: PowerPointSlideBuilder

Sets the slide layout.

Parameters

masterIndex System.Int32 requiredposition: 0
layoutIndex System.Int32 requiredposition: 1
public PowerPointSlideBuilder Notes(String text) #
Returns: PowerPointSlideBuilder

Sets notes text for the slide.

Parameters

text System.String requiredposition: 0
Numbered 4 overloads
public PowerPointSlideBuilder Numbered(params String[] items) #
Returns: PowerPointSlideBuilder

Adds a numbered list to the slide.

Parameters

items System.String[] requiredposition: 0
public PowerPointSlideBuilder Numbered(Action<PowerPointTextBox> configure, params String[] items) #
Returns: PowerPointSlideBuilder

Adds a numbered list to the slide using a layout box.

Parameters

layout OfficeIMO.PowerPoint.PowerPointLayoutBox requiredposition: 0
items System.String[] requiredposition: 1
Numbered(System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} configure, System.String[] items) #

Adds a numbered list to the slide and applies configuration.

Parameters

configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} required
items System.String[] required
public PowerPointSlideBuilder Numbered(PowerPointLayoutBox layout, Action<PowerPointTextBox> configure, params String[] items) #
Returns: PowerPointSlideBuilder

Adds a numbered list to the slide using a layout box and applies configuration.

Parameters

layout OfficeIMO.PowerPoint.PowerPointLayoutBox requiredposition: 0
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} requiredposition: 1
items System.String[] requiredposition: 2
public PowerPointSlideBuilder Shape(ShapeTypeValues shapeType, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointAutoShape> configure = null) #
Returns: PowerPointSlideBuilder

Adds an auto shape to the slide.

Parameters

shapeType DocumentFormat.OpenXml.Drawing.ShapeTypeValues requiredposition: 0
left System.Int64 requiredposition: 1
top System.Int64 requiredposition: 2
width System.Int64 requiredposition: 3
height System.Int64 requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointAutoShape} = null optionalposition: 5
public PowerPointSlideBuilder ShapeCm(ShapeTypeValues shapeType, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointAutoShape> configure = null) #
Returns: PowerPointSlideBuilder

Adds an auto shape to the slide using centimeter measurements.

Parameters

shapeType DocumentFormat.OpenXml.Drawing.ShapeTypeValues requiredposition: 0
leftCm System.Double requiredposition: 1
topCm System.Double requiredposition: 2
widthCm System.Double requiredposition: 3
heightCm System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointAutoShape} = null optionalposition: 5
public PowerPointSlideBuilder ShapeInches(ShapeTypeValues shapeType, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointAutoShape> configure = null) #
Returns: PowerPointSlideBuilder

Adds an auto shape to the slide using inch measurements.

Parameters

shapeType DocumentFormat.OpenXml.Drawing.ShapeTypeValues requiredposition: 0
leftInches System.Double requiredposition: 1
topInches System.Double requiredposition: 2
widthInches System.Double requiredposition: 3
heightInches System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointAutoShape} = null optionalposition: 5
public PowerPointSlideBuilder ShapePoints(ShapeTypeValues shapeType, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointAutoShape> configure = null) #
Returns: PowerPointSlideBuilder

Adds an auto shape to the slide using point measurements.

Parameters

shapeType DocumentFormat.OpenXml.Drawing.ShapeTypeValues requiredposition: 0
leftPoints System.Double requiredposition: 1
topPoints System.Double requiredposition: 2
widthPoints System.Double requiredposition: 3
heightPoints System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointAutoShape} = null optionalposition: 5
public PowerPointSlideBuilder Show() #
Returns: PowerPointSlideBuilder

Shows the slide in slide show mode.

Table 3 overloads
public PowerPointSlideBuilder Table<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Action<PowerPointTable> configure = null) #
Returns: PowerPointSlideBuilder

Adds a table to the slide.

Type Parameters

T

Parameters

rows System.Int32 requiredposition: 0
columns System.Int32 requiredposition: 1
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null optionalposition: 2
public PowerPointSlideBuilder Table<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, PowerPointLayoutBox layout, Action<PowerPointTable> configure = null) #
Returns: PowerPointSlideBuilder

Adds a table using a layout box.

Type Parameters

T

Parameters

rows System.Int32 requiredposition: 0
columns System.Int32 requiredposition: 1
layout OfficeIMO.PowerPoint.PowerPointLayoutBox requiredposition: 2
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null optionalposition: 3
public PowerPointSlideBuilder Table<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointTable> configure = null) #
Returns: PowerPointSlideBuilder

Adds a table to the slide at a position (EMU units).

Type Parameters

T

Parameters

rows System.Int32 requiredposition: 0
columns System.Int32 requiredposition: 1
left System.Int64 requiredposition: 2
top System.Int64 requiredposition: 3
width System.Int64 requiredposition: 4
height System.Int64 requiredposition: 5
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null optionalposition: 6
public PowerPointSlideBuilder TableCm<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointTable> configure = null) #
Returns: PowerPointSlideBuilder

Adds a table to the slide at a position (centimeters).

Type Parameters

T

Parameters

rows System.Int32 requiredposition: 0
columns System.Int32 requiredposition: 1
leftCm System.Double requiredposition: 2
topCm System.Double requiredposition: 3
widthCm System.Double requiredposition: 4
heightCm System.Double requiredposition: 5
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null optionalposition: 6
TableCm``1(System.Collections.Generic.IEnumerable{``0} data, System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} columns, System.Double leftCm, System.Double topCm, System.Double widthCm, System.Double heightCm, System.Action{OfficeIMO.PowerPoint.PowerPointTable} configure) #

Adds a table using column bindings at a position (centimeters).

Parameters

data System.Collections.Generic.IEnumerable{``0} required
columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} required
leftCm System.Double required
topCm System.Double required
widthCm System.Double required
heightCm System.Double required
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} required
public PowerPointSlideBuilder TableInches<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointTable> configure = null) #
Returns: PowerPointSlideBuilder

Adds a table to the slide at a position (inches).

Type Parameters

T

Parameters

rows System.Int32 requiredposition: 0
columns System.Int32 requiredposition: 1
leftInches System.Double requiredposition: 2
topInches System.Double requiredposition: 3
widthInches System.Double requiredposition: 4
heightInches System.Double requiredposition: 5
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null optionalposition: 6
TableInches``1(System.Collections.Generic.IEnumerable{``0} data, System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} columns, System.Double leftInches, System.Double topInches, System.Double widthInches, System.Double heightInches, System.Action{OfficeIMO.PowerPoint.PowerPointTable} configure) #

Adds a table using column bindings at a position (inches).

Parameters

data System.Collections.Generic.IEnumerable{``0} required
columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} required
leftInches System.Double required
topInches System.Double required
widthInches System.Double required
heightInches System.Double required
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} required
public PowerPointSlideBuilder TablePoints<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointTable> configure = null) #
Returns: PowerPointSlideBuilder

Adds a table to the slide at a position (points).

Type Parameters

T

Parameters

rows System.Int32 requiredposition: 0
columns System.Int32 requiredposition: 1
leftPoints System.Double requiredposition: 2
topPoints System.Double requiredposition: 3
widthPoints System.Double requiredposition: 4
heightPoints System.Double requiredposition: 5
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null optionalposition: 6
TablePoints``1(System.Collections.Generic.IEnumerable{``0} data, System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} columns, System.Double leftPoints, System.Double topPoints, System.Double widthPoints, System.Double heightPoints, System.Action{OfficeIMO.PowerPoint.PowerPointTable} configure) #

Adds a table using column bindings at a position (points).

Parameters

data System.Collections.Generic.IEnumerable{``0} required
columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} required
leftPoints System.Double required
topPoints System.Double required
widthPoints System.Double required
heightPoints System.Double required
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} required
Table``1 3 overloads
Table``1(System.Collections.Generic.IEnumerable{``0} data, System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} columns, System.Action{OfficeIMO.PowerPoint.PowerPointTable} configure) #

Adds a table using column bindings.

Parameters

data System.Collections.Generic.IEnumerable{``0} required
columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} required
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} required
Table``1(System.Collections.Generic.IEnumerable{``0} data, System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} columns, OfficeIMO.PowerPoint.PowerPointLayoutBox layout, System.Action{OfficeIMO.PowerPoint.PowerPointTable} configure) #

Adds a table using column bindings and a layout box.

Parameters

data System.Collections.Generic.IEnumerable{``0} required
columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} required
layout OfficeIMO.PowerPoint.PowerPointLayoutBox required
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} required
Table``1(System.Collections.Generic.IEnumerable{``0} data, System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} columns, System.Int64 left, System.Int64 top, System.Int64 width, System.Int64 height, System.Action{OfficeIMO.PowerPoint.PowerPointTable} configure) #

Adds a table using column bindings at a position (EMU units).

Parameters

data System.Collections.Generic.IEnumerable{``0} required
columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}} required
left System.Int64 required
top System.Int64 required
width System.Int64 required
height System.Int64 required
configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} required
TextBox 3 overloads
public PowerPointSlideBuilder TextBox(String text, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a textbox with the specified text.

Parameters

text System.String requiredposition: 0
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 1
public PowerPointSlideBuilder TextBox(String text, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a textbox with the specified text at a position (EMU units).

Parameters

text System.String requiredposition: 0
left System.Int64 requiredposition: 1
top System.Int64 requiredposition: 2
width System.Int64 requiredposition: 3
height System.Int64 requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 5
public PowerPointSlideBuilder TextBox(String text, PowerPointLayoutBox layout, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a textbox with the specified text using a layout box.

Parameters

text System.String requiredposition: 0
layout OfficeIMO.PowerPoint.PowerPointLayoutBox requiredposition: 1
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 2
public PowerPointSlideBuilder TextBoxCm(String text, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a textbox with the specified text at a position (centimeters).

Parameters

text System.String requiredposition: 0
leftCm System.Double requiredposition: 1
topCm System.Double requiredposition: 2
widthCm System.Double requiredposition: 3
heightCm System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 5
public PowerPointSlideBuilder TextBoxInches(String text, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a textbox with the specified text at a position (inches).

Parameters

text System.String requiredposition: 0
leftInches System.Double requiredposition: 1
topInches System.Double requiredposition: 2
widthInches System.Double requiredposition: 3
heightInches System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 5
public PowerPointSlideBuilder TextBoxPoints(String text, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a textbox with the specified text at a position (points).

Parameters

text System.String requiredposition: 0
leftPoints System.Double requiredposition: 1
topPoints System.Double requiredposition: 2
widthPoints System.Double requiredposition: 3
heightPoints System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 5
Title 3 overloads
public PowerPointSlideBuilder Title(String text, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a title textbox to the slide.

Parameters

text System.String requiredposition: 0
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 1
public PowerPointSlideBuilder Title(String text, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a title textbox to the slide at a specific position (EMU units).

Parameters

text System.String requiredposition: 0
left System.Int64 requiredposition: 1
top System.Int64 requiredposition: 2
width System.Int64 requiredposition: 3
height System.Int64 requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 5
public PowerPointSlideBuilder Title(String text, PowerPointLayoutBox layout, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a title textbox to the slide using a layout box.

Parameters

text System.String requiredposition: 0
layout OfficeIMO.PowerPoint.PowerPointLayoutBox requiredposition: 1
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 2
public PowerPointSlideBuilder TitleCm(String text, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a title textbox to the slide at a specific position (centimeters).

Parameters

text System.String requiredposition: 0
leftCm System.Double requiredposition: 1
topCm System.Double requiredposition: 2
widthCm System.Double requiredposition: 3
heightCm System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 5
public PowerPointSlideBuilder TitleInches(String text, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a title textbox to the slide at a specific position (inches).

Parameters

text System.String requiredposition: 0
leftInches System.Double requiredposition: 1
topInches System.Double requiredposition: 2
widthInches System.Double requiredposition: 3
heightInches System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 5
public PowerPointSlideBuilder TitlePoints(String text, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointTextBox> configure = null) #
Returns: PowerPointSlideBuilder

Adds a title textbox to the slide at a specific position (points).

Parameters

text System.String requiredposition: 0
leftPoints System.Double requiredposition: 1
topPoints System.Double requiredposition: 2
widthPoints System.Double requiredposition: 3
heightPoints System.Double requiredposition: 4
configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null optionalposition: 5