API Reference
Class
RtfColor
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
- Method RtfDocument.GetColor
- Property RtfDocument.Colors
Accepted by parameters
- Method RtfLosslessEditor.SetColor
Constructors
public RtfColor(Byte red, Byte green, Byte blue) #Initializes a color.
Parameters
- red System.Byte
- green System.Byte
- blue System.Byte
Methods
Inherited Methods
Properties
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.