• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • SharpRtfConvert
      • Parser
      • Rtf
      • RtfHtmlSettings
      • RtfSource
    • SharpRtfConvert.Foundation
      • NamedCodePage
      • ParagraphTab
    • SharpRtfConvert.Html
      • HtmlTag
      • HtmlWriterSettings
    • SharpRtfConvert.Model
      • ElementType
      • ExternalPicture
      • Node
      • Picture
    • SharpRtfConvert.Style
      • BorderPosition
      • BorderStyle
      • CellWidthUnit
      • ColorValue
      • Document
      • Font
      • FontFamilyCategory
      • FontPitch
      • HtmlEncapsulation
      • ListLevelDefinition
      • ListStyle
      • ListStyleReference
      • NumberingType
      • TextAlignment
      • UnitType
      • UnitValue
      • VerticalAlignment
      • WritingMode
    • SharpRtfConvert.Tokens
      • AccentSix
      • Author
      • BackgroundColor
      • BackupTime
      • BinaryToken
      • Blue
      • BookmarkEnd
      • BookmarkStart
      • BorderColor
      • BorderShadow
      • BorderSide
      • BorderSpacing
      • BorderStyleTag
      • BorderWidth
      • BottomCellSpacing
      • Category
      • CellBackgroundColor
      • CellBorderSide
      • CellBreak
      • CellDefaults
      • CellMergeHorizontalFirst
      • CellMergeHorizontalPrevious
      • CellMergeVerticalFirst
      • CellMergeVerticalPrevious
      • CellPaddingBottom
      • CellPaddingLeft
      • CellPaddingRight
      • CellPaddingTop
      • CellPaddingUnit
      • CellVerticalAlign
      • CellWidth
      • CellWidthType
      • CellWritingMode
      • CodePage
      • ColorTable
      • Comment
      • Company
      • ContextualSpace
      • ControlTag
      • ControlWord<T>
      • CreateTime
      • Day
      • DefaultCodePage
      • DefaultFontRef
      • DefaultNamedCodePage
      • DefaultTabWidth
      • DiBitmap
      • DocComment
      • EditingTime
      • EmfBlip
      • Field
      • FieldInstructions
      • FieldResult
      • FirstLineIndent
      • FontCategory
      • FontCharSet
      • FontPitchToken
      • FontRef
      • FontSize
      • FontTableTag
      • Footer
      • FooterFirst
      • FooterLeft
      • FooterRight
      • Footnote
      • FootnoteReference
      • ForegroundColor
      • FromHtml
      • GeneratorTag
      • GenericTag
      • GenericWord
      • Green
      • Group
      • GroupEnd
      • HalfCellPadding
      • Header
      • HeaderFirst
      • HeaderLeft
      • HeaderRight
      • HeaderRow
      • Hour
      • HtmlRtf
      • HtmlTagToken
      • HyperlinkBase
      • IToken
      • IWord
      • IgnoreUnrecognized
      • InTable
      • Info
      • InternalVersion
      • IsAllCaps
      • IsBold
      • IsDoubleStrike
      • IsEmbossed
      • IsEngraved
      • IsHidden
      • IsItalic
      • IsOutlined
      • IsShadow
      • IsSmallCaps
      • IsStrikethrough
      • IsUnderline
      • JpegBlip
      • Keywords
      • LeftCellSpacing
      • LeftIndent
      • LevelNumbers
      • LevelText
      • LineBreak
      • LineSpacingMultiple
      • ListDefinition
      • ListId
      • ListLevel
      • ListLevelJustification
      • ListLevelNumber
      • ListLevelType
      • ListOverride
      • ListOverrideTable
      • ListStyleId
      • ListTemplateId
      • ListTextFallback
      • MacPict
      • Manager
      • Minute
      • Month
      • NestedCellBreak
      • NestedRowBreak
      • NestedTableProperties
      • NestingLevel
      • NoNestedTables
      • NonShapePictureTag
      • NumChars
      • NumCharsWs
      • NumPages
      • NumWords
      • NumberingIndent
      • NumberingLevelBody
      • NumberingLevelBullet
      • NumberingLevelContinue
      • NumberingStart
      • NumberingTextAfter
      • NumberingTextBefore
      • NumberingTextFallback
      • NumberingTypeToken
      • ObjectAttachment
      • Operator
      • OutlineLevel
      • PageBreak
      • ParagraphBackgroundColor
      • ParagraphBorderBetween
      • ParagraphBorderSide
      • ParagraphBreak
      • ParagraphDefault
      • ParagraphNumbering
      • PictureBinaryLength
      • PictureHeight
      • PictureHeightGoal
      • PictureScaleX
      • PictureScaleY
      • PictureTag
      • PictureWidth
      • PictureWidthGoal
      • PlainStyle
      • PmMetafile
      • PngBlip
      • PositionOffset
      • PrintTime
      • Red
      • RevisionTime
      • RightCellBoundary
      • RightCellSpacing
      • RightIndent
      • RowAutoFit
      • RowBreak
      • RowDefaults
      • RowHeight
      • RowLeft
      • RowTextAlign
      • Second
      • SectionBreak
      • SectionDefault
      • Shade
      • ShapeInstructions
      • ShapePictureTag
      • ShapeProperty
      • ShapePropertyName
      • ShapePropertyValue
      • ShapeTag
      • SpaceAfter
      • SpaceBefore
      • SpaceBetweenLines
      • StyleRef
      • StyleSheetTag
      • Subject
      • SubscriptStart
      • SuperSubEnd
      • SuperscriptStart
      • Tab
      • TabAlignment
      • TabPosition
      • TableBorderSide
      • TablePaddingBottom
      • TablePaddingLeft
      • TablePaddingRight
      • TablePaddingTop
      • TextAlign
      • TextToken
      • Tint
      • Title
      • TokenType
      • TopCellSpacing
      • UnderlineColor
      • UnderlineDashDot
      • UnderlineDashDotDot
      • UnderlineDashed
      • UnderlineDotted
      • UnderlineDouble
      • UnderlineDoubleWave
      • UnderlineHeavyWave
      • UnderlineLongDash
      • UnderlineThick
      • UnderlineThickDash
      • UnderlineThickDashDot
      • UnderlineThickDashDotDot
      • UnderlineThickDotted
      • UnderlineThickLongDash
      • UnderlineWave
      • UnderlineWord
      • UnicodeTextTag
      • Version
      • WBitmap
      • WmMetafile
      • Year

    Class ColorValue

    Inheritance
    object
    ColorValue
    Implements
    IEquatable<ColorValue>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: SharpRtfConvert.Style
    Assembly: SharpRtfConvert.dll
    Syntax
    public sealed class ColorValue : IEquatable<ColorValue>

    Constructors

    | Edit this page View Source

    ColorValue(byte, byte, byte)

    Declaration
    public ColorValue(byte red, byte green, byte blue)
    Parameters
    Type Name Description
    byte red
    byte green
    byte blue

    Fields

    | Edit this page View Source

    Black

    Declaration
    public static readonly ColorValue Black
    Field Value
    Type Description
    ColorValue
    | Edit this page View Source

    White

    Declaration
    public static readonly ColorValue White
    Field Value
    Type Description
    ColorValue

    Properties

    | Edit this page View Source

    Blue

    Declaration
    public byte Blue { get; }
    Property Value
    Type Description
    byte
    | Edit this page View Source

    Green

    Declaration
    public byte Green { get; }
    Property Value
    Type Description
    byte
    | Edit this page View Source

    Red

    Declaration
    public byte Red { get; }
    Property Value
    Type Description
    byte

    Methods

    | Edit this page View Source

    Clone()

    Declaration
    public ColorValue Clone()
    Returns
    Type Description
    ColorValue
    | Edit this page View Source

    Equals(ColorValue?)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(ColorValue? other)
    Parameters
    Type Name Description
    ColorValue other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Edit this page View Source

    Equals(object?)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    Operators

    | Edit this page View Source

    operator ==(ColorValue?, ColorValue?)

    Declaration
    public static bool operator ==(ColorValue? x, ColorValue? y)
    Parameters
    Type Name Description
    ColorValue x
    ColorValue y
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(ColorValue?, ColorValue?)

    Declaration
    public static bool operator !=(ColorValue? x, ColorValue? y)
    Parameters
    Type Name Description
    ColorValue x
    ColorValue y
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2018 Eric Domke, 2026 Jérémy Ansel