API Reference

Struct

OdfColor

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Base ValueType
Implements
IEquatable<OdfColor>
Modifiers sealed

ODF RGB color serialized as `#RRGGBB`.

Inheritance

  • ValueType
  • OdfColor

Usage

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

Accepted by parameters

Constructors

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

Creates a color from red, green, and blue components.

Parameters

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

Methods

Equals 2 overloads
public virtual Boolean Equals(OdfColor other) #
Returns: Boolean

Parameters

other OfficeIMO.OpenDocument.OdfColor requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public static OdfColor Parse(String value) #
Returns: OdfColor

Parses `#RRGGBB` or `RRGGBB`.

Parameters

value System.String requiredposition: 0
public override String ToString() #
Returns: String
public static Boolean TryParse(String value, out OdfColor color) #
Returns: Boolean

Attempts to parse #RRGGBB or RRGGBB without throwing.

Parameters

value System.String requiredposition: 0
color OfficeIMO.OpenDocument.OdfColor@ requiredposition: 1