# PowerPointImageAsset

Real image asset with crop, focal-point, caption, provenance, alt text, and annotations.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`e96266e685be` with working tree changes

**Source**

[PowerPointSemanticStoryModels.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L108)

**Modifiers**

sealed

Real image asset with crop, focal-point, caption, provenance, alt text, and annotations.

## Inheritance

- object
- PowerPointImageAsset

## Usage

Explore 5 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 [PowerPointImageAsset.Annotate](/api/powerpoint/officeimo-powerpoint-powerpointimageasset/#method-annotate-officeimo-powerpoint-powerpointimageannotation)
- Property [PowerPointScreenshotStoryPlanSlide.Image](/api/powerpoint/officeimo-powerpoint-powerpointscreenshotstoryplanslide/#property-image)

### Accepted by parameters 3

- Method [PowerPointDeckPlan.AddScreenshotStory](/api/powerpoint/officeimo-powerpoint-powerpointdeckplan/#method-addscreenshotstory-string-string-officeimo-powerpoint-powerpointimageasset-collections-generic-ienumerable-system-string-string-action-officeimo-powerpoint-powerpointscreenshotstoryslideoptions) parameter `image`
- Constructor [PowerPointScreenshotStoryPlanSlide.PowerPointScreenshotStoryPlanSlide](/api/powerpoint/officeimo-powerpoint-powerpointscreenshotstoryplanslide/#constructor-ctor-string-string-officeimo-powerpoint-powerpointimageasset-collections-generic-ienumerable-system-string-string-action-officeimo-powerpoint-powerpointscreenshotstoryslideoptions) parameter `image`
- Method [PowerPointSlide.AddImage](/api/powerpoint/officeimo-powerpoint-powerpointslide/#method-addimage-officeimo-powerpoint-powerpointimageasset-officeimo-powerpoint-powerpointlayoutbox) parameter `asset`

Filter members 

Show inherited

## Constructors

`public PowerPointImageAsset(string path, string alternativeText)` [#](#constructor-ctor-string-string)

[PowerPointSemanticStoryModels.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L108)

Creates a semantic image asset.

Parameters

**path string required**

**alternativeText string required**

## Methods

`public PowerPointImageAsset Annotate(PowerPointImageAnnotation annotation)` [#](#method-annotate-officeimo-powerpoint-powerpointimageannotation)

[PowerPointSemanticStoryModels.cs:139](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L139)

Adds an annotation and returns this asset.

Parameters

**annotation OfficeIMO.PowerPoint.PowerPointImageAnnotation required**

Returns

`PowerPointImageAsset`

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

[PowerPointSemanticStoryModels.cs:121](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L121)

Source image path.

`public string AlternativeText { get; }` [#](#property-alternativetext)

[PowerPointSemanticStoryModels.cs:123](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L123)

Alternative text applied to the native picture.

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

[PowerPointSemanticStoryModels.cs:125](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L125)

Optional visible caption.

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

[PowerPointSemanticStoryModels.cs:127](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L127)

Optional source or provenance line.

`public PowerPointImagePlacement Placement { get; set; }` [#](#property-placement)

[PowerPointSemanticStoryModels.cs:129](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L129)

Image placement policy.

`public double FocalX { get; set; }` [#](#property-focalx)

[PowerPointSemanticStoryModels.cs:131](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L131)

Normalized horizontal focal point.

`public double FocalY { get; set; }` [#](#property-focaly)

[PowerPointSemanticStoryModels.cs:133](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L133)

Normalized vertical focal point.

`public IReadOnlyList<PowerPointImageAnnotation> Annotations { get; }` [#](#property-annotations)

[PowerPointSemanticStoryModels.cs:135](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.PowerPoint/PowerPointSemanticStoryModels.cs#L135)

Annotations rendered over the image.

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