Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfColorFluent

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Modifiers
static

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, both returning the same instance.

Inheritance

  • object
  • RtfColorFluent

Methods

public static RtfColor Shade(RtfColor rtfColor, int? value) #

Sets RtfColor.Shade: Optional shade value from \cshade.

Parameters

rtfColor OfficeIMO.Rtf.RtfColor required
The instance.
value int? required
The value.

Returns

RtfColor The same instance.

Examples

// C# initializer or property    // C# fluent
rtfColor.Shade = value;          rtfColor.Shade(value);
public static RtfColor ThemeColor(RtfColor rtfColor, RtfThemeColor? value) #

Sets RtfColor.ThemeColor: 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

// C# initializer or property    // C# fluent
rtfColor.ThemeColor = value;     rtfColor.ThemeColor(value);
public static RtfColor Tint(RtfColor rtfColor, int? value) #

Sets RtfColor.Tint: Optional tint value from \ctint.

Parameters

rtfColor OfficeIMO.Rtf.RtfColor required
The instance.
value int? required
The value.

Returns

RtfColor The same instance.

Examples

// C# initializer or property    // C# fluent
rtfColor.Tint = value;           rtfColor.Tint(value);