Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfColor

Namespace OfficeIMO.Rtf
Assembly OfficeIMO.Rtf
Implements
IRtfCloneable
Modifiers sealed

RGB color entry used by an RTF document.

Inheritance

  • Object
  • RtfColor

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

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

Initializes a color.

Parameters

red System.Byte requiredposition: 0
green System.Byte requiredposition: 1
blue System.Byte requiredposition: 2

Methods

public override String ToString() #
Returns: String

Properties

public Byte Red { get; } #

Red component.

public Byte Green { get; } #

Green component.

public Byte Blue { get; } #

Blue component.

public Boolean IsAutomatic { get; set; } #

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

public Nullable<RtfThemeColor> ThemeColor { get; set; } #

Optional theme color token associated with this RGB color.

public Nullable<Int32> Tint { get; set; } #

Optional tint value from \ctint.

public Nullable<Int32> Shade { get; set; } #

Optional shade value from \cshade.