# IWorkKeynoteImage

An immutable positioned PNG or JPEG in a newly created Keynote presentation.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[IWorkKeynoteImage.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkKeynoteImage.cs#L31)

**Implements**

`IWorkKeynoteCreationDrawable`

**Modifiers**

sealed

An immutable positioned PNG or JPEG in a newly created Keynote presentation.

## Inheritance

- object
- IWorkKeynoteImage

## Usage

Explore 2 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 [IWorkKeynoteSlideBuilder.AddImage](/api/iwork/officeimo-iwork-iworkkeynoteslidebuilder/#method-addimage-byte-single-single-single-single-string-threading-cancellationtoken)
- Property [IWorkKeynoteSlideBuilder.Images](/api/iwork/officeimo-iwork-iworkkeynoteslidebuilder/#property-images)

Filter members 

Show inherited

## Methods

`public byte[] GetBytes()` [#](#method-getbytes)

[IWorkKeynoteImage.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkKeynoteImage.cs#L31)

Returns a copy of the validated encoded payload.

Returns

`byte[]`

## 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 IWorkGeometry Geometry { get; }` [#](#property-geometry)

[IWorkKeynoteImage.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkKeynoteImage.cs#L19)

Gets the frame geometry in points. The full image fills this frame without a crop or mask.

`public int PixelWidth { get; }` [#](#property-pixelwidth)

[IWorkKeynoteImage.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkKeynoteImage.cs#L21)

Gets the validated pixel width.

`public int PixelHeight { get; }` [#](#property-pixelheight)

[IWorkKeynoteImage.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkKeynoteImage.cs#L23)

Gets the validated pixel height.

`public string MediaType { get; }` [#](#property-mediatype)

[IWorkKeynoteImage.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkKeynoteImage.cs#L25)

Gets image/png or image/jpeg.

`public int Length { get; }` [#](#property-length)

[IWorkKeynoteImage.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkKeynoteImage.cs#L27)

Gets the encoded payload size in bytes.

`public string? AccessibilityDescription { get; }` [#](#property-accessibilitydescription)

[IWorkKeynoteImage.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/Creation/IWorkKeynoteImage.cs#L29)

Gets the optional native accessibility description.

<!-- PowerForge markdown artifact sha256:69AFB2937B93D6314E00E8A56D1CF89D00AF316EE15578684D7E582F61D9A923 -->
