Click or drag to resize

RtfToHtmlColor Structure

Represents a color.
Inheritance Hierarchy
SystemObject
  SystemValueType
    SautinSoftRtfToHtmlColor

Namespace: SautinSoft
Assembly: SautinSoft.RtfToHtml (in SautinSoft.RtfToHtml.dll) Version: 2023.10.18
Syntax
public struct Color : IEquatable<RtfToHtmlColor>

The RtfToHtmlColor type exposes the following members.

Constructors
 NameDescription
Public methodRtfToHtmlColor(Int32) Initializes a new instance of the Color struct.
Public methodRtfToHtmlColor(String) Initializes a new instance of the Color struct.
Public methodRtfToHtmlColor(Byte, Byte, Byte) Initializes a new instance of the Color struct.
Public methodRtfToHtmlColor(Byte, Byte, Byte, Byte) Initializes a new instance of the Color struct.
Top
Properties
 NameDescription
Public propertyA Gets the alpha component of this Color instance.
Public propertyB Gets the blue component of this Color instance.
Public propertyG Gets the green component of this Color instance.
Public propertyIsAuto Gets a value indicating whether this Color instance is auto.
Public propertyIsEmpty Gets a value indicating whether this Color instance is empty.
Public propertyR Gets the red component of this Color instance.
Top
Methods
 NameDescription
Public methodEquals(RtfToHtmlColor) Determines whether the otherColor is equal to this Color instance.
Public methodEquals(Object) Determines whether the specified Object is equal to this Color instance.
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode Gets a hash code for this Color instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(RtfToHtmlColor, RtfToHtmlColor) Determines whether first and second Color are equal.
Public operatorStatic memberInequality(RtfToHtmlColor, RtfToHtmlColor) Determines whether first and second Color not equal.
Top
Fields
 NameDescription
Public fieldStatic memberAuto Represents an auto color.
Public fieldStatic memberBlack Represents a black color (RGB = 0x000000).
Public fieldStatic memberBlue Represents a blue color (RGB = 0x0000FF).
Public fieldStatic memberBrown Represents a brown color (RGB = 0xA52A2A).
Public fieldStatic memberCyan Represents a cyan color (RGB = 0x00FFFF).
Public fieldStatic memberDarkBlue Represents a dark blue color (RGB = 0x000080).
Public fieldStatic memberDarkCyan Represents a dark cyan color (RGB = 0x008080).
Public fieldStatic memberDarkGray Represents a dark gray color (RGB = 0x808080).
Public fieldStatic memberDarkGreen Represents a dark green color (RGB = 0x008000).
Public fieldStatic memberDarkMagenta Represents a dark magenta color (RGB = 0x800080).
Public fieldStatic memberDarkRed Represents a dark red color (RGB = 0x800000).
Public fieldStatic memberDarkYellow Represents a dark yellow color(RGB = 0x808000).
Public fieldStatic memberEmpty Represents an empty color.
Public fieldStatic memberGray Represents a gray color (RGB = 0x808080).
Public fieldStatic memberGreen Represents a green color (RGB = 0x00FF00).
Public fieldStatic memberLightGray Represents a light gray color (RGB = 0xC0C0C0).
Public fieldStatic memberMagenta Represents a magenta color (RGB = 0xFF00FF).
Public fieldStatic memberOrange Represents an orange color (RGB = 0xFFA500).
Public fieldStatic memberPink Represents a pink color (RGB = 0xFFC0CB).
Public fieldStatic memberPurple Represents a purple color (RGB = 0x800080).
Public fieldStatic memberRed Represents a red color (RGB = 0xFF0000).
Public fieldStatic memberWhite Represents a white color (RGB = 0xFFFFFF).
Public fieldStatic memberYellow Represents a yellow color(RGB = 0xFFFF00).
Top
See Also