# RtfImageFluent

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

Class 

`OfficeIMO.Rtf`

**Namespace**

`OfficeIMO.Rtf`

**Assembly**

`OfficeIMO.Rtf`

**Modifiers**

static

The fluent methods of [RtfImage](/api/rtf/officeimo-rtf-rtfimage/), 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
- RtfImageFluent

Filter members 

Show inherited

## Methods

`public static RtfImage CropBottomTwips(RtfImage rtfImage, int? value)` [#](#method-cropbottomtwips-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.CropBottomTwips](/api/rtf/officeimo-rtf-rtfimage/): Unscaled twips cropped from the bottom edge. Negative values add space.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
rtfImage.CropBottomTwips = value;    rtfImage.CropBottomTwips(value);
```

`public static RtfImage CropLeftTwips(RtfImage rtfImage, int? value)` [#](#method-croplefttwips-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.CropLeftTwips](/api/rtf/officeimo-rtf-rtfimage/): Unscaled twips cropped from the left edge. Negative values add space.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
rtfImage.CropLeftTwips = value;    rtfImage.CropLeftTwips(value);
```

`public static RtfImage CropRightTwips(RtfImage rtfImage, int? value)` [#](#method-croprighttwips-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.CropRightTwips](/api/rtf/officeimo-rtf-rtfimage/): Unscaled twips cropped from the right edge. Negative values add space.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property       // C# fluent
rtfImage.CropRightTwips = value;    rtfImage.CropRightTwips(value);
```

`public static RtfImage CropTopTwips(RtfImage rtfImage, int? value)` [#](#method-croptoptwips-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.CropTopTwips](/api/rtf/officeimo-rtf-rtfimage/): Unscaled twips cropped from the top edge. Negative values add space.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
rtfImage.CropTopTwips = value;    rtfImage.CropTopTwips(value);
```

`public static RtfImage Data(RtfImage rtfImage, byte[] value)` [#](#method-data-officeimo-rtf-rtfimage-byte)

Sets [RtfImage.Data](/api/rtf/officeimo-rtf-rtfimage/): Raw image bytes.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value byte[] required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
rtfImage.Data = value;           rtfImage.Data(value);
```

`public static RtfImage Description(RtfImage rtfImage, string? value)` [#](#method-description-officeimo-rtf-rtfimage-string)

Sets [RtfImage.Description](/api/rtf/officeimo-rtf-rtfimage/): Alternative text or description.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value string? required**

The value.

Returns

`RtfImage` The same instance.

Examples

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

`public static RtfImage DesiredHeightTwips(RtfImage rtfImage, int? value)` [#](#method-desiredheighttwips-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.DesiredHeightTwips](/api/rtf/officeimo-rtf-rtfimage/): Desired height in twips when present.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property           // C# fluent
rtfImage.DesiredHeightTwips = value;    rtfImage.DesiredHeightTwips(value);
```

`public static RtfImage DesiredWidthTwips(RtfImage rtfImage, int? value)` [#](#method-desiredwidthtwips-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.DesiredWidthTwips](/api/rtf/officeimo-rtf-rtfimage/): Desired width in twips when present.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
rtfImage.DesiredWidthTwips = value;    rtfImage.DesiredWidthTwips(value);
```

`public static RtfImage Format(RtfImage rtfImage, RtfImageFormat value)` [#](#method-format-officeimo-rtf-rtfimage-officeimo-rtf-rtfimageformat)

Sets [RtfImage.Format](/api/rtf/officeimo-rtf-rtfimage/): Image format.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value OfficeIMO.Rtf.RtfImageFormat required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
rtfImage.Format = value;         rtfImage.Format(value);
```

`public static RtfImage ScaleXPercent(RtfImage rtfImage, int? value)` [#](#method-scalexpercent-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.ScaleXPercent](/api/rtf/officeimo-rtf-rtfimage/): Horizontal picture scale as a percentage. An omitted value means 100.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
rtfImage.ScaleXPercent = value;    rtfImage.ScaleXPercent(value);
```

`public static RtfImage ScaleYPercent(RtfImage rtfImage, int? value)` [#](#method-scaleypercent-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.ScaleYPercent](/api/rtf/officeimo-rtf-rtfimage/): Vertical picture scale as a percentage. An omitted value means 100.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property      // C# fluent
rtfImage.ScaleYPercent = value;    rtfImage.ScaleYPercent(value);
```

`public static RtfImage SourceHeight(RtfImage rtfImage, int? value)` [#](#method-sourceheight-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.SourceHeight](/api/rtf/officeimo-rtf-rtfimage/): Original height in pixels when present.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
rtfImage.SourceHeight = value;    rtfImage.SourceHeight(value);
```

`public static RtfImage SourceWidth(RtfImage rtfImage, int? value)` [#](#method-sourcewidth-officeimo-rtf-rtfimage-nullable-system-int32)

Sets [RtfImage.SourceWidth](/api/rtf/officeimo-rtf-rtfimage/): Original width in pixels when present.

Parameters

**rtfImage OfficeIMO.Rtf.RtfImage required**

The instance.

**value int? required**

The value.

Returns

`RtfImage` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
rtfImage.SourceWidth = value;    rtfImage.SourceWidth(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:5A01E8673EBDFAC4D798A424E5B95F7DC6113B3652E5EBE45670511C4CFA99B3 -->
