Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

Design PowerPoint Decks from a Brief

Edit on GitHub

Generate designed, editable PowerPoint decks from a brand brief and a deck plan, compare design alternatives, and add slides with composition presets.

Packages
Works with
Target frameworks
netstandard2.0, net8.0, net10.0, net472
Limits
Design scoring and rhythm checks are advisory; InspectPreflight is the check for clipped text, out-of-bounds shapes, and missing pictures. OfficeIMO.PowerPoint support matrix
Verified
Examples compiled against the source on

Designer decks sit between placing every shape by hand and filling a fixed template. A PowerPointDesignBrief holds the brand color, a stable seed, the deck's purpose, and style preferences. A PowerPointDeckPlan holds the story as semantic slides: a section, a process, a case study, cards, metrics. Compose renders the plan with a design that fits the content, and every slide stays editable in PowerPoint. The same seed always gives the same result.

Screenshots on this page come from the runnable examples in OfficeIMO.Examples (--powerpoint-design-brief, --powerpoint-deck-plan, --powerpoint-layout-strategy).

Compose a deck from a brief and a plan

C#

using OfficeIMO.PowerPoint;

PowerPointDesignBrief brief = PowerPointDesignBrief
    .FromBrand("#008C95", "client-demo", "technical rollout proposal")
    .WithIdentity("Client Theme", footerLeft: "CLIENT", footerRight: "Service deck");

PowerPointDeckPlan plan = new PowerPointDeckPlan()
    .AddSection("Service proposal", "Generated from a semantic plan.")
    .AddProcess("Implementation path", "The selected design handles layout.", new[] {
        new PowerPointProcessStep("Discover", "Collect constraints."),
        new PowerPointProcessStep("Design", "Choose the target model."),
        new PowerPointProcessStep("Roll out", "Deliver in waves.")
    })
    .AddCardGrid("Scope", "What the service covers.", new[] {
        new PowerPointCardContent("Deployments", new[] { "Intune", "Autopilot" }),
        new PowerPointCardContent("Care", new[] { "Monitoring", "Reporting" })
    });

using PowerPointDocument presentation = PowerPointDocument.Create("proposal.pptx");
presentation.SlideSize.SetPreset(PowerPointSlideSizePreset.Screen16x9);
presentation.Compose(plan, PowerPointCompositionOptions.FromBrief(brief));
presentation.Save();

PowerShell

The PowerShell designer cmdlets build the same kinds of slides from a deck style and purpose.

New-OfficePowerPoint -Path .\proposal.pptx -Theme Modern -Accent '#008C95' -Purpose 'technical rollout proposal' {
    Add-OfficePowerPointSlide -Title 'Service proposal' -Subtitle 'Generated from PowerShell'
    Add-OfficePowerPointSlide -Title 'Implementation path' {
        Add-OfficePowerPointStep 'Discover' -Text 'Collect constraints.'
        Add-OfficePowerPointStep 'Design' -Text 'Choose the target model.'
        Add-OfficePowerPointStep 'Roll out' -Text 'Deliver in waves.'
    }
}

Process slide rendered from a deck plan

Compare design alternatives before rendering

DescribeDeckPlanAlternatives scores several design directions against the plan without writing slides. Each alternative reports a content-fit score and the reasons behind it, so you can pick one or show the choice to a user.

C#

using OfficeIMO.PowerPoint;

PowerPointDesignBrief brief = PowerPointDesignBrief
    .FromBrand("#008C95", "client-demo", "technical rollout proposal")
    .WithVariety(PowerPointDesignVariety.Exploratory);

PowerPointDeckPlan plan = new PowerPointDeckPlan()
    .AddSection("Service proposal", "Generated from a semantic plan.")
    .AddProcess("Implementation path", null, new[] {
        new PowerPointProcessStep("Discover", "Collect constraints."),
        new PowerPointProcessStep("Pilot", "Validate with a small group."),
        new PowerPointProcessStep("Roll out", "Deliver in waves.")
    });

var best = brief.DescribeDeckPlanAlternatives(plan, 3)
    .OrderByDescending(alternative => alternative.ContentFitScore)
    .First();
Console.WriteLine($"{best.Design.DirectionName}: {best.ContentFitScore}");

using PowerPointDocument presentation = PowerPointDocument.Create("proposal.pptx");
PowerPointCompositionOptions composition = PowerPointCompositionOptions.FromBrief(brief);
composition.SelectBestAlternative = false;
composition.AlternativeIndex = best.Index;
presentation.Compose(plan, composition);
presentation.Save();

Design brief alternatives

Steer the look with packs and strategies

A creative direction pack sets recipe, palette style, layout strategy, and ranking preferences in one call: Boardroom, FieldProof, EditorialCaseStudy, TechnicalMap, or QuietAppendix. WithLayoutStrategy steers automatic slide variants: ContentFirst, DesignFirst, Compact, or VisualFirst. Override single palette values where needed.

C#

using OfficeIMO.PowerPoint;

PowerPointDesignBrief brief = PowerPointDesignBrief
    .FromBrand("#008C95", "field-proof", "service proposal")
    .WithCreativeDirectionPack(PowerPointCreativeDirectionPack.FieldProof)
    .WithLayoutStrategy(PowerPointAutoLayoutStrategy.Compact)
    .WithPalette(surfaceColor: "#F6FAFC", panelBorderColor: "#D5E3EA");

foreach (var recommendation in brief.RecommendAlternatives(4)) {
    Console.WriteLine($"{recommendation.Design.Index}: {recommendation.PreferenceScore}");
}

PowerPointDesignBrief.DescribeCreativeDirectionPacks() lists every pack with its description and settings.

The same plan rendered with three layout strategies

Use the semantic story slides

The plan has slide kinds for the parts of a deck that usually need hand-built layouts. Each has two variants, and Auto picks one from the seed and the content.

Slide kindVariantsOutput
Executive summaryMetricLead, DecisionBriefText, metric strips, and cards
Chart storyChartHero, InsightRailEditable chart with caption, source, and alt text
ComparisonSideBySide, DecisionMatrixCards or an editable table
Screenshot storyHeroAnnotated, SplitNarrativePicture with focal crop, caption, and annotations
Appendix tableFullWidth, NotesRailEditable table that continues on new slides
ArchitectureLayered, HubSpokeEditable shapes, labels, and connectors
ClosingStatement, ActionPanelStatement or next-action slide

C#

using OfficeIMO.PowerPoint;

PowerPointDesignBrief brief = PowerPointDesignBrief.FromBrand("#1F4E79", "qbr", "quarterly business review");

PowerPointDeckPlan plan = new PowerPointDeckPlan()
    .AddSection("Quarterly review", "Operations")
    .AddCaseStudy("Managed workplace rollout",
        new[] {
            new PowerPointCaseStudySection("Client", "A distributed organization."),
            new PowerPointCaseStudySection("Challenge", "Many sites and mixed hardware."),
            new PowerPointCaseStudySection("Solution", "Standard onboarding and monitoring."),
            new PowerPointCaseStudySection("Result", "Faster, predictable delivery.")
        },
        new[] { new PowerPointMetric("18", "sites"), new PowerPointMetric("420", "devices") })
    .AddClosing("Next decision", new PowerPointClosingContent(
        "Approve the pilot for the next two sites.", "Approve the pilot"));

using PowerPointDocument presentation = PowerPointDocument.Create("qbr.pptx");
PowerPointCompositionResult result = presentation.Compose(plan, PowerPointCompositionOptions.FromBrief(brief));

PowerPointDeckRhythmReport rhythm = result.Plan.InspectRhythm(result.Design);
foreach (var finding in rhythm.Findings) Console.WriteLine($"{finding.Code}: {finding.Message}");

presentation.Save();

The rhythm report flags repeated slide kinds, dense streaks, long sections, and a missing closing slide with stable codes such as Rhythm.RepeatedKind and Rhythm.MissingClosing.

Add a custom slide with composition presets

AddCustom gives you a composer that shares the deck's styling. UsePreset returns named regions (Primary, Visual, Metrics) so the slide keeps designed spacing without hard-coded coordinates.

C#

using OfficeIMO.PowerPoint;

PowerPointDesignBrief brief = PowerPointDesignBrief.FromBrand("#008C95", "custom", "service proposal");

PowerPointDeckPlan plan = new PowerPointDeckPlan()
    .AddCustom("Why this approach", composer => {
        composer.AddTitle("Why this approach", "Evidence from the pilot");
        PowerPointCompositionLayout layout = composer.UsePreset(
            PowerPointCompositionPreset.MetricStory, PowerPointCompositionVariant.VisualLead);
        composer.AddCardGrid(new[] {
            new PowerPointCardContent("Speed", new[] { "Devices ready in one day" }),
            new PowerPointCardContent("Control", new[] { "One policy baseline" })
        }, layout.Primary);
        composer.AddVisualFrame(layout.Visual, PowerPointVisualFrameVariant.ProofBoard);
        composer.AddMetricStrip(new[] {
            new PowerPointMetric("98%", "compliant"),
            new PowerPointMetric("4h", "setup time")
        }, layout.Metrics, PowerPointMetricStripVariant.SeparatedTiles);
    }, "why-this-approach");

using PowerPointDocument presentation = PowerPointDocument.Create("custom.pptx");
presentation.Compose(plan, PowerPointCompositionOptions.FromBrief(brief));
presentation.Save();

Custom slide built with a composition preset

Choose the right level

LevelUse it whenMain API
Raw slideExact placement mattersPowerPointSlide
Composer presetsOne slide needs custom structure with designed spacingPowerPointCompositionPreset
Semantic slideThe content has a known shape: process, case study, cardsPowerPointDeckPlan
Deck compositionRender the whole story with one fitting designPowerPointDocument.Compose
Design briefBrand, purpose, and preferences travel togetherPowerPointDesignBrief

Example source