# ExcelImageOptionsFluent

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

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Modifiers**

static

The fluent methods of [ExcelImageOptions](/api/excel/officeimo-excel-excelimageoptions/), 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
- ExcelImageOptionsFluent

Filter members 

Show inherited

## Methods

`public static ExcelImageOptions ContentType(ExcelImageOptions excelImageOptions, string value)` [#](#method-contenttype-officeimo-excel-excelimageoptions-string)

Sets [ExcelImageOptions.ContentType](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the MIME type for native byte payloads. Loaded sources use their validated content type.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value string required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { ContentType = value };    excelImageOptions.ContentType(value);
```

`public static ExcelImageOptions Deduplicate(ExcelImageOptions excelImageOptions, bool value = true)` [#](#method-deduplicate-officeimo-excel-excelimageoptions-boolean)

Sets [ExcelImageOptions.Deduplicate](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets whether identical bytes of the same native type reuse an existing image part in this worksheet drawing. Defaults to separate parts.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Deduplicate = value };    excelImageOptions.Deduplicate(value);
```

`public static ExcelImageOptions Description(ExcelImageOptions excelImageOptions, string? value)` [#](#method-description-officeimo-excel-excelimageoptions-string)

Sets [ExcelImageOptions.Description](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the alternative text description.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value string? required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Description = value };    excelImageOptions.Description(value);
```

`public static ExcelImageOptions EndOffsetX(ExcelImageOptions excelImageOptions, OfficeLength value)` [#](#method-endoffsetx-officeimo-excel-excelimageoptions-officeimo-officelength)

Sets [ExcelImageOptions.EndOffsetX](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the exact horizontal offset of a two-cell ending marker.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { EndOffsetX = value };    excelImageOptions.EndOffsetX(value);
```

`public static ExcelImageOptions EndOffsetY(ExcelImageOptions excelImageOptions, OfficeLength value)` [#](#method-endoffsety-officeimo-excel-excelimageoptions-officeimo-officelength)

Sets [ExcelImageOptions.EndOffsetY](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the exact vertical offset of a two-cell ending marker.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { EndOffsetY = value };    excelImageOptions.EndOffsetY(value);
```

`public static ExcelImageOptions Height(ExcelImageOptions excelImageOptions, OfficeLength? value)` [#](#method-height-officeimo-excel-excelimageoptions-nullable-officeimo-officelength)

Sets [ExcelImageOptions.Height](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the exact height. Omitted byte-image heights are 32 pixels; loaded sources use detected dimensions.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Height = value };    excelImageOptions.Height(value);
```

`public static ExcelImageOptions LeaveOpen(ExcelImageOptions excelImageOptions, bool value = true)` [#](#method-leaveopen-officeimo-excel-excelimageoptions-boolean)

Sets [ExcelImageOptions.LeaveOpen](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets whether a caller-owned stream stays open on success, cancellation and failure. Its seekable position is preserved.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { LeaveOpen = value };    excelImageOptions.LeaveOpen(value);
```

`public static ExcelImageOptions LockAspectRatio(ExcelImageOptions excelImageOptions, bool value = true)` [#](#method-lockaspectratio-officeimo-excel-excelimageoptions-boolean)

Sets [ExcelImageOptions.LockAspectRatio](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets whether the picture's aspect ratio is locked in Excel. Does not infer an omitted dimension.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { LockAspectRatio = value };    excelImageOptions.LockAspectRatio(value);
```

`public static ExcelImageOptions Name(ExcelImageOptions excelImageOptions, string? value)` [#](#method-name-officeimo-excel-excelimageoptions-string)

Sets [ExcelImageOptions.Name](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the drawing name used by Excel's selection pane.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value string? required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Name = value };    excelImageOptions.Name(value);
```

`public static ExcelImageOptions OffsetX(ExcelImageOptions excelImageOptions, OfficeLength value)` [#](#method-offsetx-officeimo-excel-excelimageoptions-officeimo-officelength)

Sets [ExcelImageOptions.OffsetX](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the exact horizontal offset of the starting cell marker, including signed native offsets.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { OffsetX = value };    excelImageOptions.OffsetX(value);
```

`public static ExcelImageOptions OffsetY(ExcelImageOptions excelImageOptions, OfficeLength value)` [#](#method-offsety-officeimo-excel-excelimageoptions-officeimo-officelength)

Sets [ExcelImageOptions.OffsetY](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the exact vertical offset of the starting cell marker, including signed native offsets.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { OffsetY = value };    excelImageOptions.OffsetY(value);
```

`public static ExcelImageOptions Placement(ExcelImageOptions excelImageOptions, ExcelImagePlacement value)` [#](#method-placement-officeimo-excel-excelimageoptions-officeimo-excel-excelimageplacement)

Sets [ExcelImageOptions.Placement](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets how a two-cell anchor responds to cell moves and resizes.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value OfficeIMO.Excel.ExcelImagePlacement required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Placement = value };    excelImageOptions.Placement(value);
```

RemoteImageOptions 2 overloads

`public static ExcelImageOptions RemoteImageOptions(ExcelImageOptions excelImageOptions, OfficeRemoteImageLoadOptions? value)` [#](#method-remoteimageoptions-officeimo-excel-excelimageoptions-officeimo-drawing-officeremoteimageloadoptions)

Sets [ExcelImageOptions.RemoteImageOptions](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the existing network policy for HTTP or HTTPS image loading.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value OfficeIMO.Drawing.OfficeRemoteImageLoadOptions? required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { RemoteImageOptions = value };    excelImageOptions.RemoteImageOptions(value);
```

`public static ExcelImageOptions RemoteImageOptions(ExcelImageOptions excelImageOptions, Action<OfficeRemoteImageLoadOptions> configure)` [#](#method-remoteimageoptions-officeimo-excel-excelimageoptions-action-officeimo-drawing-officeremoteimageloadoptions)

Configures [ExcelImageOptions.RemoteImageOptions](/api/excel/officeimo-excel-excelimageoptions/) in place (creating it when not set): Gets or sets the existing network policy for HTTP or HTTPS image loading.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**configure System.Action<OfficeIMO.Drawing.OfficeRemoteImageLoadOptions> required**

Configures the value.

Returns

`ExcelImageOptions` The same instance.

`public static ExcelImageOptions RotationDegrees(ExcelImageOptions excelImageOptions, double value)` [#](#method-rotationdegrees-officeimo-excel-excelimageoptions-double)

Sets [ExcelImageOptions.RotationDegrees](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the clockwise rotation in degrees.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value double required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { RotationDegrees = value };    excelImageOptions.RotationDegrees(value);
```

`public static ExcelImageOptions ScalePercent(ExcelImageOptions excelImageOptions, double? value)` [#](#method-scalepercent-officeimo-excel-excelimageoptions-nullable-system-double)

Sets [ExcelImageOptions.ScalePercent](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets a positive percentage of detected source dimensions. Cannot be combined with explicit dimensions or a range anchor.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value double? required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { ScalePercent = value };    excelImageOptions.ScalePercent(value);
```

`public static ExcelImageOptions Title(ExcelImageOptions excelImageOptions, string? value)` [#](#method-title-officeimo-excel-excelimageoptions-string)

Sets [ExcelImageOptions.Title](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the alternative text title.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value string? required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Title = value };    excelImageOptions.Title(value);
```

`public static ExcelImageOptions Width(ExcelImageOptions excelImageOptions, OfficeLength? value)` [#](#method-width-officeimo-excel-excelimageoptions-nullable-officeimo-officelength)

Sets [ExcelImageOptions.Width](/api/excel/officeimo-excel-excelimageoptions/): Gets or sets the exact width. Omitted byte-image widths are 96 pixels; loaded sources use detected dimensions.

Parameters

**excelImageOptions OfficeIMO.Excel.ExcelImageOptions required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`ExcelImageOptions` The same instance.

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Excel.ExcelImageOptions { Width = value };    excelImageOptions.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:C8D84F50A403ED23A714FBAE93921BEC16825E36AF594CFD762BD39435A66701 -->
