# ExcelImageFluent

The fluent methods of ExcelImage, 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 [ExcelImage](/api/excel/officeimo-excel-excelimage/), 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
- ExcelImageFluent

Filter members 

Show inherited

## Methods

`public static ExcelImage AltText(ExcelImage excelImage, string description, string? title = null)` [#](#method-alttext-officeimo-excel-excelimage-string-string)

Sets image title and description metadata.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**description string required**

The value.

**title string? = null optional**

The value.

Returns

`ExcelImage` The same instance.

`public static ExcelImage CropRatio(ExcelImage excelImage, double left, double top, double right, double bottom)` [#](#method-cropratio-officeimo-excel-excelimage-double-double-double-double)

Sets image crop ratios, where 0 means no crop and 1 means the full source dimension.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**left double required**

The value.

**top double required**

The value.

**right double required**

The value.

**bottom double required**

The value.

Returns

`ExcelImage` The same instance.

`public static ExcelImage Description(ExcelImage excelImage, string value)` [#](#method-description-officeimo-excel-excelimage-string)

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

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**value string required**

The value.

Returns

`ExcelImage` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
excelImage.Description = value;    excelImage.Description(value);
```

`public static ExcelImage Flip(ExcelImage excelImage, bool horizontal, bool vertical)` [#](#method-flip-officeimo-excel-excelimage-boolean-boolean)

Sets image flip transforms.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**horizontal bool required**

The value.

**vertical bool required**

The value.

Returns

`ExcelImage` The same instance.

`public static ExcelImage HyperlinkUri(ExcelImage excelImage, Uri? value)` [#](#method-hyperlinkuri-officeimo-excel-excelimage-uri)

Sets [ExcelImage.HyperlinkUri](/api/excel/officeimo-excel-excelimage/): Gets or sets the picture's external hyperlink target. Null removes the click link. Targets are stored in the workbook and are never opened by OfficeIMO.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**value System.Uri? required**

The value.

Returns

`ExcelImage` The same instance.

Examples

```csharp
// C# initializer or property       // C# fluent
excelImage.HyperlinkUri = value;    excelImage.HyperlinkUri(value);
```

`public static ExcelImage Name(ExcelImage excelImage, string value)` [#](#method-name-officeimo-excel-excelimage-string)

Sets [ExcelImage.Name](/api/excel/officeimo-excel-excelimage/): Gets or sets the image drawing name.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**value string required**

The value.

Returns

`ExcelImage` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
excelImage.Name = value;         excelImage.Name(value);
```

`public static ExcelImage Rotation(ExcelImage excelImage, double degrees)` [#](#method-rotation-officeimo-excel-excelimage-double)

Sets clockwise image rotation in degrees.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**degrees double required**

Clockwise rotation in degrees. Fractional values are supported by DrawingML.

Returns

`ExcelImage` The same instance.

`public static ExcelImage RotationDegrees(ExcelImage excelImage, double value)` [#](#method-rotationdegrees-officeimo-excel-excelimage-double)

Sets [ExcelImage.RotationDegrees](/api/excel/officeimo-excel-excelimage/): Gets or sets clockwise image rotation in degrees.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**value double required**

The value.

Returns

`ExcelImage` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
excelImage.RotationDegrees = value;    excelImage.RotationDegrees(value);
```

`public static ExcelImage Size(ExcelImage excelImage, OfficeLength width, OfficeLength height)` [#](#method-size-officeimo-excel-excelimage-officeimo-officelength-officeimo-officelength)

Sets the image size as a document length.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**width OfficeIMO.OfficeLength required**

The value.

**height OfficeIMO.OfficeLength required**

The value.

Returns

`ExcelImage` The same instance.

`public static ExcelImage SizePercent(ExcelImage excelImage, double percent)` [#](#method-sizepercent-officeimo-excel-excelimage-double)

Scales the image from its current size by the specified percentage.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**percent double required**

Percentage of the current image size. For example, 20 means 20%.

Returns

`ExcelImage` The same instance.

`public static ExcelImage Title(ExcelImage excelImage, string value)` [#](#method-title-officeimo-excel-excelimage-string)

Sets [ExcelImage.Title](/api/excel/officeimo-excel-excelimage/): Gets or sets the image title metadata.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**value string required**

The value.

Returns

`ExcelImage` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
excelImage.Title = value;        excelImage.Title(value);
```

`public static ExcelImage TransparencyPercent(ExcelImage excelImage, int? value)` [#](#method-transparencypercent-officeimo-excel-excelimage-nullable-system-int32)

Sets [ExcelImage.TransparencyPercent](/api/excel/officeimo-excel-excelimage/): Gets or sets DrawingML picture transparency from 0 through 100 percent. Null removes the explicit alpha transform.

Parameters

**excelImage OfficeIMO.Excel.ExcelImage required**

The instance.

**value int? required**

The value.

Returns

`ExcelImage` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
excelImage.TransparencyPercent = value;    excelImage.TransparencyPercent(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:C81726D4F447DD76468151AE8FEF5B899477319BE296CA59D27C459902C6AFBB -->
