# PowerPointCompositionOptions

Controls how a semantic PowerPointDeckPlan is composed into a presentation.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`70033815508f` with working tree changes

**Source**

[PowerPointCompositionOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L13)

**Modifiers**

sealed

Controls how a semantic [PowerPointDeckPlan](/api/powerpoint/officeimo-powerpoint-powerpointdeckplan/) is composed into a presentation.

## Inheritance

- object
- PowerPointCompositionOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Design PowerPoint Decks from a Brief](/docs/powerpoint/designer/) Guide
  
  Generate designed, editable PowerPoint decks from a brand brief and a deck plan, compare design alternatives, and add slides with composition presets.
- [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 4 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 2

- Method [PowerPointCompositionOptions.FromBrief](/api/powerpoint/officeimo-powerpoint-powerpointcompositionoptions/#method-frombrief-officeimo-powerpoint-powerpointdesignbrief)
- Method [PowerPointCompositionOptions.FromDesign](/api/powerpoint/officeimo-powerpoint-powerpointcompositionoptions/#method-fromdesign-officeimo-powerpoint-powerpointdeckdesign)

### Accepted by parameters 2

- Method [PowerPointDocument.Compose](/api/powerpoint/officeimo-powerpoint-powerpointdocument/#method-compose-officeimo-powerpoint-powerpointdeckplan-officeimo-powerpoint-powerpointcompositionoptions) parameter `options`
- Method [PowerPointDocument.PreviewComposition](/api/powerpoint/officeimo-powerpoint-powerpointdocument/#method-previewcomposition-officeimo-powerpoint-powerpointdeckplan-officeimo-powerpoint-powerpointcompositionoptions) parameter `options`

Filter members 

Show inherited

## Methods

`public static PowerPointCompositionOptions FromBrief(PowerPointDesignBrief brief)` [#](#method-frombrief-officeimo-powerpoint-powerpointdesignbrief)

[PowerPointCompositionOptions.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L19)

Creates composition options that resolve a design from a reusable brief.

Parameters

**brief OfficeIMO.PowerPoint.PowerPointDesignBrief required**

Returns

`PowerPointCompositionOptions`

`public static PowerPointCompositionOptions FromDesign(PowerPointDeckDesign design)` [#](#method-fromdesign-officeimo-powerpoint-powerpointdeckdesign)

[PowerPointCompositionOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L13)

Creates composition options for an already resolved deck design.

Parameters

**design OfficeIMO.PowerPoint.PowerPointDeckDesign required**

Returns

`PowerPointCompositionOptions`

## 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 PowerPointDeckDesign? Design { get; }` [#](#property-design)

[PowerPointCompositionOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L24)

Resolved design to apply. Set when options were created with [PowerPointCompositionOptions.FromDesign](/api/powerpoint/officeimo-powerpoint-powerpointcompositionoptions/).

`public PowerPointDesignBrief? Brief { get; }` [#](#property-brief)

[PowerPointCompositionOptions.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L27)

Design brief to resolve. Set when options were created with [PowerPointCompositionOptions.FromBrief](/api/powerpoint/officeimo-powerpoint-powerpointcompositionoptions/).

`public int AlternativeIndex { get; set; }` [#](#property-alternativeindex)

[PowerPointCompositionOptions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L32)

Zero-based brief alternative to use when [PowerPointCompositionOptions.SelectBestAlternative](/api/powerpoint/officeimo-powerpoint-powerpointcompositionoptions/) is false.

`public bool SelectBestAlternative { get; set; }` [#](#property-selectbestalternative)

[PowerPointCompositionOptions.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L37)

Selects the brief alternative that best fits the supplied plan. This is the default for brief-based composition.

`public int AlternativeCount { get; set; }` [#](#property-alternativecount)

[PowerPointCompositionOptions.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L42)

Number of alternatives considered by best-fit selection. Zero uses the brief's natural alternative count.

`public bool ApplyTheme { get; set; }` [#](#property-applytheme)

[PowerPointCompositionOptions.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L45)

Applies the resolved design theme before slides are composed.

`public bool ValidatePlan { get; set; }` [#](#property-validateplan)

[PowerPointCompositionOptions.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L48)

Validates semantic slide contracts before composition.

`public bool ExpandContinuations { get; set; }` [#](#property-expandcontinuations)

[PowerPointCompositionOptions.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L51)

Expands dense semantic content into continuation slides before composition.

`public PowerPointDeckContinuationOptions? Continuation { get; set; }` [#](#property-continuation)

[PowerPointCompositionOptions.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L54)

Optional continuation policy used when [PowerPointCompositionOptions.ExpandContinuations](/api/powerpoint/officeimo-powerpoint-powerpointcompositionoptions/) is enabled.

`public PowerPointDeckPreflightOptions? Preflight { get; set; }` [#](#property-preflight)

[PowerPointCompositionOptions.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L57)

Optional preflight policy for the composed result.

`public PowerPointTemplateLayoutMap? TemplateLayouts { get; set; }` [#](#property-templatelayouts)

[PowerPointCompositionOptions.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/70033815508f5804dab5924268dfa6831d9b08cd/OfficeIMO.PowerPoint/PowerPointCompositionOptions.cs#L62)

Optional mapping from semantic slide kinds to layouts owned by a copied PowerPoint template.

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