ColorType Class

Office 2010

Defines the ColorType class.

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

[ChildElementInfoAttribute(typeof(SystemColor))]
[ChildElementInfoAttribute(typeof(SchemeColor))]
[ChildElementInfoAttribute(typeof(PresetColor))]
[ChildElementInfoAttribute(typeof(RgbColorModelPercentage))]
[ChildElementInfoAttribute(typeof(RgbColorModelHex))]
[ChildElementInfoAttribute(typeof(HslColor))]
public abstract class ColorType : OpenXmlCompositeElement

The following table lists the possible child types:DocumentFormat.OpenXml.Drawing.RgbColorModelPercentage <a:scrgbClr>DocumentFormat.OpenXml.Drawing.RgbColorModelHex <a:srgbClr>DocumentFormat.OpenXml.Drawing.HslColor <a:hslClr>DocumentFormat.OpenXml.Drawing.SystemColor <a:sysClr>DocumentFormat.OpenXml.Drawing.SchemeColor <a:schemeClr>DocumentFormat.OpenXml.Drawing.PresetColor <a:prstClr>

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

Community Additions

ADD
Show:
© 2014 Microsoft