# HtmlRenderImage

Positioned image retained in its encoded source form for image and PDF backends.

Class 

`OfficeIMO.Html`

**Namespace**

`OfficeIMO.Html`

**Assembly**

`OfficeIMO.Html`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[HtmlRenderImage.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderImage.cs#L48)

**Base**

`HtmlRenderVisual`

**Modifiers**

sealed

Positioned image retained in its encoded source form for image and PDF backends.

## Inheritance

- [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)
- HtmlRenderImage

Filter members 

Show inherited

## 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 byte[] Bytes { get; }` [#](#property-bytes)

[HtmlRenderImage.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderImage.cs#L48)

Detached encoded image bytes.

`public string ContentType { get; }` [#](#property-contenttype)

[HtmlRenderImage.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderImage.cs#L51)

Image media type.

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

[HtmlRenderImage.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderImage.cs#L54)

Optional alternative text from the source document.

`public OfficeImageSourceCrop SourceCrop { get; }` [#](#property-sourcecrop)

[HtmlRenderImage.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderImage.cs#L57)

Optional normalized source crop applied before the image is placed.

## Inherited Properties

`public HtmlRenderVisualKind Kind { get; }` [#](#property-kind)

[HtmlRenderVisual.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderVisual.cs#L27)

Inherited from [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)

`public double X { get; }` [#](#property-x)

[HtmlRenderVisual.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderVisual.cs#L30)

Inherited from [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)

`public double Y { get; }` [#](#property-y)

[HtmlRenderVisual.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderVisual.cs#L33)

Inherited from [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)

`public double Width { get; }` [#](#property-width)

[HtmlRenderVisual.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderVisual.cs#L36)

Inherited from [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)

`public double Height { get; }` [#](#property-height)

[HtmlRenderVisual.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderVisual.cs#L39)

Inherited from [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)

`public int PaintOrder { get; }` [#](#property-paintorder)

[HtmlRenderVisual.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderVisual.cs#L42)

Inherited from [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)

`public string? LinkUri { get; }` [#](#property-linkuri)

[HtmlRenderVisual.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderVisual.cs#L45)

Inherited from [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)

`public string? Source { get; }` [#](#property-source)

[HtmlRenderVisual.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Html/Rendering/HtmlRenderVisual.cs#L48)

Inherited from [HtmlRenderVisual](/api/html/officeimo-html-htmlrendervisual/)

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