# WordEmbeddedObjectOptionsFluent

The fluent methods of WordEmbeddedObjectOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordEmbeddedObjectOptions](/api/word/officeimo-word-wordembeddedobjectoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- WordEmbeddedObjectOptionsFluent

Filter members 

Show inherited

## Methods

`public static TSelf DisplayAsIcon<TSelf>(TSelf wordEmbeddedObjectOptions, bool value = true)` [#](#method-displayasicon-boolean)

Sets [WordEmbeddedObjectOptions.DisplayAsIcon](/api/word/officeimo-word-wordembeddedobjectoptions/): Gets or sets a value indicating whether the object should be displayed as an icon.

Type Parameters

**TSelf**

Parameters

**wordEmbeddedObjectOptions TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Word.WordEmbeddedObjectOptions { DisplayAsIcon = value };    wordEmbeddedObjectOptions.DisplayAsIcon(value);
```

`public static TSelf Height<TSelf>(TSelf wordEmbeddedObjectOptions, OfficeLength value)` [#](#method-height-officeimo-officelength)

Sets [WordEmbeddedObjectOptions.Height](/api/word/officeimo-word-wordembeddedobjectoptions/): Gets or sets the height of the embedded object when displayed as an icon.

Type Parameters

**TSelf**

Parameters

**wordEmbeddedObjectOptions TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Word.WordEmbeddedObjectOptions { Height = value };    wordEmbeddedObjectOptions.Height(value);
```

`public static TSelf IconPath<TSelf>(TSelf wordEmbeddedObjectOptions, string? value)` [#](#method-iconpath-string)

Sets [WordEmbeddedObjectOptions.IconPath](/api/word/officeimo-word-wordembeddedobjectoptions/): Gets or sets the path to the icon used when [WordEmbeddedObjectOptions.DisplayAsIcon](/api/word/officeimo-word-wordembeddedobjectoptions/) is true.

Type Parameters

**TSelf**

Parameters

**wordEmbeddedObjectOptions TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Word.WordEmbeddedObjectOptions { IconPath = value };    wordEmbeddedObjectOptions.IconPath(value);
```

`public static TSelf Width<TSelf>(TSelf wordEmbeddedObjectOptions, OfficeLength value)` [#](#method-width-officeimo-officelength)

Sets [WordEmbeddedObjectOptions.Width](/api/word/officeimo-word-wordembeddedobjectoptions/): Gets or sets the width of the embedded object when displayed as an icon.

Type Parameters

**TSelf**

Parameters

**wordEmbeddedObjectOptions TSelf required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Word.WordEmbeddedObjectOptions { Width = value };    wordEmbeddedObjectOptions.Width(value);
```

## 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?`

<!-- PowerForge markdown artifact sha256:0DDA1E327F979BC450E9F3C407357CEFA36DA76ADE7272086D93CFB343096B4B -->
