API Reference
Struct
OdfColor
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.
Returned or exposed by
- Method OdfColor.Parse
- Property OdfStyle.BackgroundColor
- Property OdfStyle.Color
- Property OdpEllipse.FillColor
- Property OdpEllipse.StrokeColor
- Property OdpGroup.FillColor
- Property OdpGroup.StrokeColor
- Property OdpImage.FillColor
- Property OdpImage.StrokeColor
- Property OdpLine.FillColor
- Property OdpLine.StrokeColor
- Property OdpMasterPage.BackgroundColor
- Property OdpRectangle.FillColor
- Property OdpRectangle.StrokeColor
- Property OdpRun.Color
- Property OdpShape.FillColor
- Property OdpShape.StrokeColor
- Property OdpSlide.BackgroundColor
- Property OdpTable.FillColor
- Property OdpTable.StrokeColor
- Property OdpTextBox.FillColor
- Property OdpTextBox.StrokeColor
- Property OdsCell.BackgroundColor
- Property OdsCell.Color
- Property OdsCellRun.BackgroundColor
- Property OdsCellRun.Color
- Property OdtParagraph.Color
- Property OdtSpan.Color
Accepted by parameters
- Method OdfColor.Equals
- Method OdfColor.TryParse
Constructors
public OdfColor(Byte red, Byte green, Byte blue) #Creates a color from red, green, and blue components.
Parameters
- red System.Byte
- green System.Byte
- blue System.Byte
Methods
Equals 2 overloads
public static OdfColor Parse(String value) #Returns:
OdfColorParses `#RRGGBB` or `RRGGBB`.
Parameters
- value System.String
public static Boolean TryParse(String value, out OdfColor color) #Returns:
BooleanAttempts to parse #RRGGBB or RRGGBB without throwing.
Parameters
- value System.String
- color OfficeIMO.OpenDocument.OdfColor@