Skip to content

BH.oM.PowerPoint.SlideCreate

Use with a push action to create a new slide from a slide layout in the first slide master template, at the position provided.

Class structure

Implemented interfaces and base types

The SlideCreate is inheriting from the following base type(s) and implements the following interfaces:

Properties

Defining properties

The following properties are defined on the class

Name Type Description Quantity
SlideMasterName string The name of the slide master to get the layout from. If this is blank, the first slide master in the list will be used instead. -
LayoutName string The name of the layout to use from the slide master. -
SlideNumber int The location to place the slide in the presentation, starting from 1. -1 to append the slide to the end of the presentation. -
SlideUpdates List<ISlideUpdate> The slide updates to be applied to the created slide. Any set slide numbers will b -

Inherited properties

The following properties are inherited from the base class of the object

Name Type Description Quantity
BHoM_Guid Guid - -
Name string - -
Fragments FragmentSet - -
Tags HashSet<string> - -
CustomData Dictionary<string, object> - -

Code and Schema

C# implementation

C#
public class SlideCreate : BH.oM.Base.BHoMObject,
BH.oM.Base.IBHoMObject,
BH.oM.Base.IObject,
BH.oM.PowerPoint.ISlideCreate,
BH.oM.PowerPoint.IPowerPointModification,
BH.oM.Base.IImmutable

Assembly: PowerPoint_oM.dll

The C# class definition is available on github:

All history and changes of the class can be found by inspection the history.

JSON Schema implementation

The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.

JSON Schema
{
 "$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/PowerPoint_oM/SlideCreate.json"
}

The JSON Schema is available on github here: