# PowerPointTemplate

Optional adapter for inspecting a PowerPoint template and creating an editable presentation from it.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[PowerPointTemplate.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplate.cs#L8)

**Modifiers**

static

Optional adapter for inspecting a PowerPoint template and creating an editable presentation from it.

## Inheritance

- object
- PowerPointTemplate

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Create PowerPoint Decks from Templates](/docs/powerpoint/templates/) Guide
  
  Inspect a corporate PPTX or POTX template, pick layouts and placeholders by name, create decks from it, and reuse its brand colors and fonts.

Filter members 

Show inherited

## Methods

`public static PowerPointDocument CreateDocument(string templatePath, string outputPath, PowerPointTemplateCreationOptions? options = null)` [#](#method-createdocument-string-string-officeimo-powerpoint-powerpointtemplatecreationoptions)

[PowerPointTemplate.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplate.cs#L23)

Copies a `.pptx` or `.potx` template into a new editable presentation while preserving native masters, layouts, themes, relationships, and assets.

Parameters

**templatePath string required**

**outputPath string required**

**options OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions? = null optional**

Returns

`PowerPointDocument`

Inspect 2 overloads

`public static PowerPointTemplateInventory Inspect(string templatePath)` [#](#method-inspect-string)

[PowerPointTemplate.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplate.cs#L8)

Inspects masters, layouts, placeholders, theme tokens, and reusable assets in a template file.

Parameters

**templatePath string required**

Returns

`PowerPointTemplateInventory`

`public static PowerPointTemplateInventory Inspect(PowerPointDocument presentation)` [#](#method-inspect-officeimo-powerpoint-powerpointdocument)

[PowerPointTemplate.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplate.cs#L13)

Inspects the template-capable structure already loaded by a presentation.

Parameters

**presentation OfficeIMO.PowerPoint.PowerPointDocument required**

Returns

`PowerPointTemplateInventory`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:57042C1D0A44DB6B396DA63419C8B263B32C3417DDBF5B8B31249F4647CE25D1 -->
