# IWorkImageAsset

An embedded image recovered from an iWork data reference.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IWorkDrawing.cs:117](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L117)

**Modifiers**

sealed

An embedded image recovered from an iWork data reference.

## Inheritance

- object
- IWorkImageAsset

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

- Property [IWorkKeynoteDrawable.Image](/api/iwork/officeimo-iwork-iworkkeynotedrawable/#property-image)
- Property [IWorkKeynoteSlide.Images](/api/iwork/officeimo-iwork-iworkkeynoteslide/#property-images)
- Property [IWorkPagesDrawable.Image](/api/iwork/officeimo-iwork-iworkpagesdrawable/#property-image)
- Property [IWorkPagesProjection.Images](/api/iwork/officeimo-iwork-iworkpagesprojection/#property-images)

Filter members 

Show inherited

## Methods

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

[IWorkDrawing.cs:117](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L117)

Returns a defensive copy of the embedded bytes.

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 string FileName { get; }` [#](#property-filename)

[IWorkDrawing.cs:95](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L95)

Gets the source-preferred file name.

`public string PackagePath { get; }` [#](#property-packagepath)

[IWorkDrawing.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L97)

Gets the normalized package entry path.

`public IWorkObjectIdentity? SourceIdentity { get; }` [#](#property-sourceidentity)

[IWorkDrawing.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L99)

Gets the native image drawable identity.

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

[IWorkDrawing.cs:101](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L101)

Gets the detected media type.

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

[IWorkDrawing.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L103)

Gets the embedded byte count.

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

[IWorkDrawing.cs:105](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L105)

Gets validated raster width, when available.

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

[IWorkDrawing.cs:107](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L107)

Gets validated raster height, when available.

`public IWorkGeometry? Geometry { get; }` [#](#property-geometry)

[IWorkDrawing.cs:109](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L109)

Gets source drawable geometry.

`public bool HasMask { get; }` [#](#property-hasmask)

[IWorkDrawing.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L111)

Gets whether the source image has a mask/crop object.

`public string? Hyperlink { get; }` [#](#property-hyperlink)

[IWorkDrawing.cs:113](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L113)

Gets a drawable hyperlink target.

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

[IWorkDrawing.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.IWork/IWorkDrawing.cs#L115)

Gets source accessibility description text.

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