# PowerPointTemplateInventory

Small, immutable inventory of a PowerPoint template.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`e96266e685be` with working tree changes

**Source**

[PowerPointTemplateInventory.cs:285](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L285)

**Modifiers**

sealed

Small, immutable inventory of a PowerPoint template.

## Inheritance

- object
- PowerPointTemplateInventory

## 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.

## Usage

Explore 2 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 1

- Method [PowerPointTemplate.Inspect](/api/powerpoint/officeimo-powerpoint-powerpointtemplate/#method-inspect-string)

### Accepted by parameters 1

- Method [PowerPointTemplateLayoutMap.Map](/api/powerpoint/officeimo-powerpoint-powerpointtemplatelayoutmap/#method-map-officeimo-powerpoint-powerpointdeckplanslidekind-officeimo-powerpoint-powerpointtemplateinventory-string) parameter `inventory`

Filter members 

Show inherited

## Methods

`public void ApplyBrandTo(PowerPointDocument presentation)` [#](#method-applybrandto-officeimo-powerpoint-powerpointdocument)

[PowerPointTemplateInventory.cs:326](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L326)

Applies imported theme tokens to every master in a target presentation.

Parameters

**presentation OfficeIMO.PowerPoint.PowerPointDocument required**

`public PowerPointDesignBrief CreateDesignBrief(string seed, string? purpose = null)` [#](#method-createdesignbrief-string-string)

[PowerPointTemplateInventory.cs:308](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L308)

Creates a reusable designer brief from imported theme colors, fonts, and identity content.

Parameters

**seed string required**

**purpose string? = null optional**

Returns

`PowerPointDesignBrief`

`public PowerPointTemplateLayoutInfo ResolveLayout(string semanticName)` [#](#method-resolvelayout-string)

[PowerPointTemplateInventory.cs:285](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L285)

Resolves one layout by authored name, semantic name fragment, or native type name.

Parameters

**semanticName string required**

Returns

`PowerPointTemplateLayoutInfo`

## 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?`

## Properties

`public string? SourcePath { get; }` [#](#property-sourcepath)

[PowerPointTemplateInventory.cs:262](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L262)

Template source path, when inventory was read from a file.

`public int SourceSlideCount { get; }` [#](#property-sourceslidecount)

[PowerPointTemplateInventory.cs:265](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L265)

Number of source slides carried by the template.

`public PowerPointLayoutBox SlideBounds { get; }` [#](#property-slidebounds)

[PowerPointTemplateInventory.cs:268](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L268)

Template slide canvas bounds.

`public IReadOnlyList<PowerPointTemplateMasterInfo> Masters { get; }` [#](#property-masters)

[PowerPointTemplateInventory.cs:271](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L271)

Template masters and layouts.

`public IReadOnlyList<PowerPointTemplateAssetInfo> Assets { get; }` [#](#property-assets)

[PowerPointTemplateInventory.cs:274](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L274)

Pictures discovered on masters and layouts.

`public IReadOnlyList<PowerPointTemplateAssetInfo> LikelyLogos { get; }` [#](#property-likelylogos)

[PowerPointTemplateInventory.cs:278](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L278)

Assets identified as likely logos.

`public IReadOnlyList<string> FooterContents { get; }` [#](#property-footercontents)

[PowerPointTemplateInventory.cs:281](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L281)

Distinct footer text discovered on template layouts.

<!-- PowerForge markdown artifact sha256:9A04FD31D941AD4EBB8038F8CEB67AB87B9C5359D3BD57D54FD211560A452654 -->
