# PowerPointTemplateLayoutInfo

One slide layout discovered in a template.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[PowerPointTemplateInventory.cs:149](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L149)

**Modifiers**

sealed

One slide layout discovered in a template.

## Inheritance

- object
- PowerPointTemplateLayoutInfo

## 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 21 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 19

- Property [PowerPointAppendixTableSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointappendixtableslideoptions/#property-templatelayout)
- Property [PowerPointArchitectureSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointarchitectureslideoptions/#property-templatelayout)
- Property [PowerPointCapabilitySlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointcapabilityslideoptions/#property-templatelayout)
- Property [PowerPointCardGridSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointcardgridslideoptions/#property-templatelayout)
- Property [PowerPointCaseStudySlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointcasestudyslideoptions/#property-templatelayout)
- Property [PowerPointChartStorySlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointchartstoryslideoptions/#property-templatelayout)
- Property [PowerPointClosingSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointclosingslideoptions/#property-templatelayout)
- Property [PowerPointComparisonSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointcomparisonslideoptions/#property-templatelayout)
- Property [PowerPointContentPlanSlide.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointcontentplanslide/#property-templatelayout)
- Property [PowerPointCoverageSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointcoverageslideoptions/#property-templatelayout)
- Property [PowerPointDesignerSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointdesignerslideoptions/#property-templatelayout)
- Property [PowerPointExecutiveSummarySlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointexecutivesummaryslideoptions/#property-templatelayout)
- Property [PowerPointLogoWallSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointlogowallslideoptions/#property-templatelayout)
- Property [PowerPointProcessSlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointprocessslideoptions/#property-templatelayout)
- Property [PowerPointScreenshotStorySlideOptions.TemplateLayout](/api/powerpoint/officeimo-powerpoint-powerpointscreenshotstoryslideoptions/#property-templatelayout)
- Method [PowerPointTemplateInventory.ResolveLayout](/api/powerpoint/officeimo-powerpoint-powerpointtemplateinventory/#method-resolvelayout-string)
- Method [PowerPointTemplateLayoutMap.Resolve](/api/powerpoint/officeimo-powerpoint-powerpointtemplatelayoutmap/#method-resolve-officeimo-powerpoint-powerpointdeckplanslidekind)
- Property [PowerPointTemplateLayoutMap.Layouts](/api/powerpoint/officeimo-powerpoint-powerpointtemplatelayoutmap/#property-layouts)
- Property [PowerPointTemplateMasterInfo.Layouts](/api/powerpoint/officeimo-powerpoint-powerpointtemplatemasterinfo/#property-layouts)

### Accepted by parameters 2

- Method [PowerPointDocument.AddSlide](/api/powerpoint/officeimo-powerpoint-powerpointdocument/#method-addslide-officeimo-powerpoint-powerpointtemplatelayoutinfo) parameter `layout`
- Method [PowerPointTemplateLayoutMap.Map](/api/powerpoint/officeimo-powerpoint-powerpointtemplatelayoutmap/#method-map-officeimo-powerpoint-powerpointdeckplanslidekind-officeimo-powerpoint-powerpointtemplatelayoutinfo) parameter `layout`

Filter members 

Show inherited

## Methods

ResolvePlaceholder 2 overloads

`public PowerPointTemplatePlaceholderInfo ResolvePlaceholder(PowerPointTemplatePlaceholderRole role)` [#](#method-resolveplaceholder-officeimo-powerpoint-powerpointtemplateplaceholderrole)

[PowerPointTemplateInventory.cs:149](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L149)

Resolves one placeholder by semantic role and rejects ambiguous matches.

Parameters

**role OfficeIMO.PowerPoint.PowerPointTemplatePlaceholderRole required**

Returns

`PowerPointTemplatePlaceholderInfo`

`public PowerPointTemplatePlaceholderInfo ResolvePlaceholder(string semanticName)` [#](#method-resolveplaceholder-string)

[PowerPointTemplateInventory.cs:157](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L157)

Resolves one placeholder by authored or semantic name and rejects ambiguous matches.

Parameters

**semanticName string required**

Returns

`PowerPointTemplatePlaceholderInfo`

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

[PowerPointTemplateInventory.cs:183](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L183)

Returns a string that represents the current object.

Returns

`string` A string that represents the current object.

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

## Properties

`public int MasterIndex { get; }` [#](#property-masterindex)

[PowerPointTemplateInventory.cs:127](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L127)

Owning master index.

`public int LayoutIndex { get; }` [#](#property-layoutindex)

[PowerPointTemplateInventory.cs:130](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L130)

Layout index within its master.

`public string Name { get; }` [#](#property-name)

[PowerPointTemplateInventory.cs:133](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L133)

Authored layout name.

`public PowerPointSlideLayoutType? Type { get; }` [#](#property-type)

[PowerPointTemplateInventory.cs:136](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L136)

Native layout type, when declared.

`public IReadOnlyList<PowerPointTemplatePlaceholderInfo> Placeholders { get; }` [#](#property-placeholders)

[PowerPointTemplateInventory.cs:139](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L139)

Layout placeholders in authored order.

`public PowerPointLayoutBox SafeArea { get; }` [#](#property-safearea)

[PowerPointTemplateInventory.cs:142](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L142)

Best content safe area derived from non-footer placeholders or a slide-margin fallback.

`public PowerPointLayoutBox? TitleArea { get; }` [#](#property-titlearea)

[PowerPointTemplateInventory.cs:145](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.PowerPoint/PowerPointTemplateInventory.cs#L145)

Title safe area, when a title placeholder is present.

<!-- PowerForge markdown artifact sha256:EF949E29A79BA4B78922E4F02F99F9CBFCC9C6A86894029944C443E178199F77 -->
