# PowerPointMetric

A metric displayed prominently on a designer slide.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[PowerPointDesignModels.cs:678](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointDesignModels.cs#L678)

**Modifiers**

sealed

A metric displayed prominently on a designer slide.

## Inheritance

- object
- PowerPointMetric

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

## Usage

Explore 7 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 3

- Property [PowerPointCapabilitySlideOptions.Metrics](/api/powerpoint/officeimo-powerpoint-powerpointcapabilityslideoptions/#property-metrics)
- Property [PowerPointCaseStudyPlanSlide.Metrics](/api/powerpoint/officeimo-powerpoint-powerpointcasestudyplanslide/#property-metrics)
- Property [PowerPointExecutiveSummaryContent.Metrics](/api/powerpoint/officeimo-powerpoint-powerpointexecutivesummarycontent/#property-metrics)

### Accepted by parameters 4

- Constructor [PowerPointCaseStudyPlanSlide.PowerPointCaseStudyPlanSlide](/api/powerpoint/officeimo-powerpoint-powerpointcasestudyplanslide/#constructor-ctor-string-collections-generic-ienumerable-officeimo-powerpoint-powerpointcasestudysection-collections-generic-ienumerable-officeimo-powerpoint-powerpointmetric-string-action-officeimo-powerpoint-powerpointcasestudyslideoptions) parameter `metrics`
- Method [PowerPointDeckPlan.AddCaseStudy](/api/powerpoint/officeimo-powerpoint-powerpointdeckplan/#method-addcasestudy-string-collections-generic-ienumerable-officeimo-powerpoint-powerpointcasestudysection-collections-generic-ienumerable-officeimo-powerpoint-powerpointmetric-string-action-officeimo-powerpoint-powerpointcasestudyslideoptions) parameter `metrics`
- Constructor [PowerPointExecutiveSummaryContent.PowerPointExecutiveSummaryContent](/api/powerpoint/officeimo-powerpoint-powerpointexecutivesummarycontent/#constructor-ctor-collections-generic-ienumerable-officeimo-powerpoint-powerpointmetric-collections-generic-ienumerable-officeimo-powerpoint-powerpointcardcontent-string) parameter `metrics`
- Method [PowerPointSlideCompositionContext.AddMetricStrip](/api/powerpoint/officeimo-powerpoint-powerpointslidecompositioncontext/#method-addmetricstrip-collections-generic-ienumerable-officeimo-powerpoint-powerpointmetric-officeimo-powerpoint-powerpointlayoutbox) parameter `metrics`

Filter members 

Show inherited

## Constructors

`public PowerPointMetric(string value, string label)` [#](#constructor-ctor-string-string)

[PowerPointDesignModels.cs:678](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointDesignModels.cs#L678)

Creates a metric with a value and label.

Parameters

**value string required**

**label string required**

## 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 Value { get; }` [#](#property-value)

[PowerPointDesignModels.cs:686](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointDesignModels.cs#L686)

Prominent metric value.

`public string Label { get; }` [#](#property-label)

[PowerPointDesignModels.cs:691](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointDesignModels.cs#L691)

Metric label or caption.

`public string? Change { get; set; }` [#](#property-change)

[PowerPointDesignModels.cs:694](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointDesignModels.cs#L694)

Optional change indicator such as "+12%" (Kpi and CaseStudy layouts).

`public string? Color { get; set; }` [#](#property-color)

[PowerPointDesignModels.cs:697](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointDesignModels.cs#L697)

Optional indicator colour: a hex value or a role name (Success, Warning, Danger).

<!-- PowerForge markdown artifact sha256:0E8129A5342CD37DFDAE167FB6C4EBA4F439C31522A328A572A79B01D02691D9 -->
