# OdtImageAnchor

Image anchoring modes supported by the ODT writer.

Enum 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdtImage.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtImage.cs#L4)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Image anchoring modes supported by the ODT writer.

## Inheritance

- Enum
- OdtImageAnchor

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

- Property [OdtImage.Anchor](/api/open-document/officeimo-opendocument-odtimage/#property-anchor)
- Field [OdtImageAnchor.Inline](/api/open-document/officeimo-opendocument-odtimageanchor/#field-inline)
- Field [OdtImageAnchor.Paragraph](/api/open-document/officeimo-opendocument-odtimageanchor/#field-paragraph)

### Accepted by parameters 1

- Method [OdtParagraph.AddImage](/api/open-document/officeimo-opendocument-odtparagraph/#method-addimage-byte-string-officeimo-opendocument-odflength-officeimo-opendocument-odflength-officeimo-opendocument-odtimageanchor) parameter `anchor`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const OdtImageAnchor Inline` [#](#field-inline)

[OdtImage.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtImage.cs#L6)

Image participates in text flow as a character.

Value: `0`

`public const OdtImageAnchor Paragraph` [#](#field-paragraph)

[OdtImage.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Text/OdtImage.cs#L8)

Image is anchored to its containing paragraph.

Value: `1`

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