共用方式為


RgbColor Class

RGB Color.When the object is serialized out as xml, its qualified name is x:rgbColor.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.RgbColor

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class RgbColor _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As RgbColor
public class RgbColor : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.8.34 rgbColor (RGB Color)

A single ARGB entry for the corresponding color index.

Parent Elements

indexedColors (§18.8.27)

Attributes

Description

rgb (Alpha Red Green Blue)

Color value expressed in Alpha Red Green Blue format (ARGB).

The possible values for this attribute are defined by the ST_UnsignedIntHex simple type (§18.18.86).

[Note: The W3C XML Schema definition of this element’s content model (CT_RgbColor) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RgbColor Members

DocumentFormat.OpenXml.Spreadsheet Namespace