API Reference
PowerPointSlideBuilder
Builder for slide content.
Inheritance
- Object
- PowerPointSlideBuilder
Methods
public PowerPointSlideBuilder Bullets(params String[] bullets) #PowerPointSlideBuilderAdds a bulleted list to the slide.
Parameters
- bullets System.String[]
public PowerPointSlideBuilder Bullets(Action<PowerPointTextBox> configure, params String[] bullets) #PowerPointSlideBuilderAdds a bulleted list to the slide using a layout box.
Parameters
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- bullets System.String[]
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}
- bullets System.String[]
public PowerPointSlideBuilder Bullets(PowerPointLayoutBox layout, Action<PowerPointTextBox> configure, params String[] bullets) #PowerPointSlideBuilderAdds a bulleted list to the slide using a layout box and applies configuration.
Parameters
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox}
- bullets System.String[]
public PowerPointFluentPresentation End() #PowerPointFluentPresentationEnds slide configuration and returns to the presentation builder.
public PowerPointSlideBuilder Hide() #PowerPointSlideBuilderHides the slide in slide show mode.
public PowerPointSlideBuilder Image(String imagePath, Action<PowerPointPicture> configure = null) #PowerPointSlideBuilderAdds an image from the given file path.
Parameters
- imagePath System.String
- configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null
public PowerPointSlideBuilder Image(String imagePath, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointPicture> configure = null) #PowerPointSlideBuilderAdds an image from the given file path at a position (EMU units).
Parameters
- imagePath System.String
- left System.Int64
- top System.Int64
- width System.Int64
- height System.Int64
- configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null
public PowerPointSlideBuilder Image(String imagePath, PowerPointLayoutBox layout, Action<PowerPointPicture> configure = null) #PowerPointSlideBuilderAdds an image from the given file path using a layout box.
Parameters
- imagePath System.String
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null
public PowerPointSlideBuilder ImageCm(String imagePath, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointPicture> configure = null) #PowerPointSlideBuilderAdds an image from the given file path at a position (centimeters).
Parameters
- imagePath System.String
- leftCm System.Double
- topCm System.Double
- widthCm System.Double
- heightCm System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null
public PowerPointSlideBuilder ImageInches(String imagePath, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointPicture> configure = null) #PowerPointSlideBuilderAdds an image from the given file path at a position (inches).
Parameters
- imagePath System.String
- leftInches System.Double
- topInches System.Double
- widthInches System.Double
- heightInches System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null
public PowerPointSlideBuilder ImagePoints(String imagePath, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointPicture> configure = null) #PowerPointSlideBuilderAdds an image from the given file path at a position (points).
Parameters
- imagePath System.String
- leftPoints System.Double
- topPoints System.Double
- widthPoints System.Double
- heightPoints System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointPicture} = null
public PowerPointSlideBuilder Layout(Int32 masterIndex, Int32 layoutIndex) #PowerPointSlideBuilderSets the slide layout.
Parameters
- masterIndex System.Int32
- layoutIndex System.Int32
public PowerPointSlideBuilder Notes(String text) #PowerPointSlideBuilderSets notes text for the slide.
Parameters
- text System.String
public PowerPointSlideBuilder Numbered(params String[] items) #PowerPointSlideBuilderAdds a numbered list to the slide.
Parameters
- items System.String[]
public PowerPointSlideBuilder Numbered(Action<PowerPointTextBox> configure, params String[] items) #PowerPointSlideBuilderAdds a numbered list to the slide using a layout box.
Parameters
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- items System.String[]
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}
- items System.String[]
public PowerPointSlideBuilder Numbered(PowerPointLayoutBox layout, Action<PowerPointTextBox> configure, params String[] items) #PowerPointSlideBuilderAdds a numbered list to the slide using a layout box and applies configuration.
Parameters
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox}
- items System.String[]
public PowerPointSlideBuilder Shape(ShapeTypeValues shapeType, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointAutoShape> configure = null) #PowerPointSlideBuilderAdds an auto shape to the slide.
Parameters
- shapeType DocumentFormat.OpenXml.Drawing.ShapeTypeValues
- left System.Int64
- top System.Int64
- width System.Int64
- height System.Int64
- configure System.Action{OfficeIMO.PowerPoint.PowerPointAutoShape} = null
public PowerPointSlideBuilder ShapeCm(ShapeTypeValues shapeType, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointAutoShape> configure = null) #PowerPointSlideBuilderAdds an auto shape to the slide using centimeter measurements.
Parameters
- shapeType DocumentFormat.OpenXml.Drawing.ShapeTypeValues
- leftCm System.Double
- topCm System.Double
- widthCm System.Double
- heightCm System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointAutoShape} = null
public PowerPointSlideBuilder ShapeInches(ShapeTypeValues shapeType, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointAutoShape> configure = null) #PowerPointSlideBuilderAdds an auto shape to the slide using inch measurements.
Parameters
- shapeType DocumentFormat.OpenXml.Drawing.ShapeTypeValues
- leftInches System.Double
- topInches System.Double
- widthInches System.Double
- heightInches System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointAutoShape} = null
public PowerPointSlideBuilder ShapePoints(ShapeTypeValues shapeType, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointAutoShape> configure = null) #PowerPointSlideBuilderAdds an auto shape to the slide using point measurements.
Parameters
- shapeType DocumentFormat.OpenXml.Drawing.ShapeTypeValues
- leftPoints System.Double
- topPoints System.Double
- widthPoints System.Double
- heightPoints System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointAutoShape} = null
public PowerPointSlideBuilder Show() #PowerPointSlideBuilderShows the slide in slide show mode.
public PowerPointSlideBuilder Table<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Action<PowerPointTable> configure = null) #PowerPointSlideBuilderAdds a table to the slide.
Type Parameters
- T
Parameters
- rows System.Int32
- columns System.Int32
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null
public PowerPointSlideBuilder Table<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, PowerPointLayoutBox layout, Action<PowerPointTable> configure = null) #PowerPointSlideBuilderAdds a table using a layout box.
Type Parameters
- T
Parameters
- rows System.Int32
- columns System.Int32
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null
public PowerPointSlideBuilder Table<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointTable> configure = null) #PowerPointSlideBuilderAdds a table to the slide at a position (EMU units).
Type Parameters
- T
Parameters
- rows System.Int32
- columns System.Int32
- left System.Int64
- top System.Int64
- width System.Int64
- height System.Int64
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null
public PowerPointSlideBuilder TableCm<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointTable> configure = null) #PowerPointSlideBuilderAdds a table to the slide at a position (centimeters).
Type Parameters
- T
Parameters
- rows System.Int32
- columns System.Int32
- leftCm System.Double
- topCm System.Double
- widthCm System.Double
- heightCm System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null
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}
- columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}}
- leftCm System.Double
- topCm System.Double
- widthCm System.Double
- heightCm System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable}
public PowerPointSlideBuilder TableInches<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointTable> configure = null) #PowerPointSlideBuilderAdds a table to the slide at a position (inches).
Type Parameters
- T
Parameters
- rows System.Int32
- columns System.Int32
- leftInches System.Double
- topInches System.Double
- widthInches System.Double
- heightInches System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null
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}
- columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}}
- leftInches System.Double
- topInches System.Double
- widthInches System.Double
- heightInches System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable}
public PowerPointSlideBuilder TablePoints<T>(IEnumerable<T> data, IEnumerable<PowerPointTableColumn<T>> columns, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointTable> configure = null) #PowerPointSlideBuilderAdds a table to the slide at a position (points).
Type Parameters
- T
Parameters
- rows System.Int32
- columns System.Int32
- leftPoints System.Double
- topPoints System.Double
- widthPoints System.Double
- heightPoints System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable} = null
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}
- columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}}
- leftPoints System.Double
- topPoints System.Double
- widthPoints System.Double
- heightPoints System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable}
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}
- columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}}
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable}
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}
- columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}}
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable}
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}
- columns System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointTableColumn{``0}}
- left System.Int64
- top System.Int64
- width System.Int64
- height System.Int64
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTable}
public PowerPointSlideBuilder TextBox(String text, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a textbox with the specified text.
Parameters
- text System.String
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder TextBox(String text, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a textbox with the specified text at a position (EMU units).
Parameters
- text System.String
- left System.Int64
- top System.Int64
- width System.Int64
- height System.Int64
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder TextBox(String text, PowerPointLayoutBox layout, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a textbox with the specified text using a layout box.
Parameters
- text System.String
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder TextBoxCm(String text, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a textbox with the specified text at a position (centimeters).
Parameters
- text System.String
- leftCm System.Double
- topCm System.Double
- widthCm System.Double
- heightCm System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder TextBoxInches(String text, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a textbox with the specified text at a position (inches).
Parameters
- text System.String
- leftInches System.Double
- topInches System.Double
- widthInches System.Double
- heightInches System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder TextBoxPoints(String text, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a textbox with the specified text at a position (points).
Parameters
- text System.String
- leftPoints System.Double
- topPoints System.Double
- widthPoints System.Double
- heightPoints System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder Title(String text, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a title textbox to the slide.
Parameters
- text System.String
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder Title(String text, Int64 left, Int64 top, Int64 width, Int64 height, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a title textbox to the slide at a specific position (EMU units).
Parameters
- text System.String
- left System.Int64
- top System.Int64
- width System.Int64
- height System.Int64
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder Title(String text, PowerPointLayoutBox layout, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a title textbox to the slide using a layout box.
Parameters
- text System.String
- layout OfficeIMO.PowerPoint.PowerPointLayoutBox
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder TitleCm(String text, Double leftCm, Double topCm, Double widthCm, Double heightCm, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a title textbox to the slide at a specific position (centimeters).
Parameters
- text System.String
- leftCm System.Double
- topCm System.Double
- widthCm System.Double
- heightCm System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder TitleInches(String text, Double leftInches, Double topInches, Double widthInches, Double heightInches, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a title textbox to the slide at a specific position (inches).
Parameters
- text System.String
- leftInches System.Double
- topInches System.Double
- widthInches System.Double
- heightInches System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
public PowerPointSlideBuilder TitlePoints(String text, Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints, Action<PowerPointTextBox> configure = null) #PowerPointSlideBuilderAdds a title textbox to the slide at a specific position (points).
Parameters
- text System.String
- leftPoints System.Double
- topPoints System.Double
- widthPoints System.Double
- heightPoints System.Double
- configure System.Action{OfficeIMO.PowerPoint.PowerPointTextBox} = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object