# RtfColorFluent

The fluent methods of RtfColor, 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 [RtfColor](/api/rtf/officeimo-rtf-rtfcolor/), 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
- RtfColorFluent

Filter members 

Show inherited

## Methods

`public static RtfColor Shade(RtfColor rtfColor, int? value)` [#](#method-shade-officeimo-rtf-rtfcolor-nullable-system-int32)

Sets [RtfColor.Shade](/api/rtf/officeimo-rtf-rtfcolor/): Optional shade value from \cshade.

Parameters

**rtfColor OfficeIMO.Rtf.RtfColor required**

The instance.

**value int? required**

The value.

Returns

`RtfColor` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
rtfColor.Shade = value;          rtfColor.Shade(value);
```

`public static RtfColor ThemeColor(RtfColor rtfColor, RtfThemeColor? value)` [#](#method-themecolor-officeimo-rtf-rtfcolor-nullable-officeimo-rtf-rtfthemecolor)

Sets [RtfColor.ThemeColor](/api/rtf/officeimo-rtf-rtfcolor/): Optional theme color token associated with this RGB color.

Parameters

**rtfColor OfficeIMO.Rtf.RtfColor required**

The instance.

**value OfficeIMO.Rtf.RtfThemeColor? required**

The value.

Returns

`RtfColor` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
rtfColor.ThemeColor = value;     rtfColor.ThemeColor(value);
```

`public static RtfColor Tint(RtfColor rtfColor, int? value)` [#](#method-tint-officeimo-rtf-rtfcolor-nullable-system-int32)

Sets [RtfColor.Tint](/api/rtf/officeimo-rtf-rtfcolor/): Optional tint value from \ctint.

Parameters

**rtfColor OfficeIMO.Rtf.RtfColor required**

The instance.

**value int? required**

The value.

Returns

`RtfColor` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
rtfColor.Tint = value;           rtfColor.Tint(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:1053A1DA9D9A53CF3F4347C13505F54DBF8E732AA62836341FC817DEB68083AC -->
