Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfColor

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Source revision
ba882f6b0d07 with working tree changes
Implements
IRtfCloneable
Modifiers
sealed

RGB color entry used by an RTF document.

Inheritance

  • object
  • RtfColor

Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Accepted by parameters 1

Constructors

public RtfColor(byte red, byte green, byte blue) #

Initializes a color.

Parameters

red byte required
green byte required
blue byte required

Methods

public override string ToString() #

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Properties

public byte Red { get; } #

Red component.

public byte Green { get; } #

Green component.

public byte Blue { get; } #

Blue component.

public bool IsAutomatic { get; internal set; } #

Whether this entry is an empty automatic-color slot rather than an explicit RGB color.

public RtfThemeColor? ThemeColor { get; set; } #

Optional theme color token associated with this RGB color.

public int? Tint { get; set; } #

Optional tint value from \ctint.

public int? Shade { get; set; } #

Optional shade value from \cshade.