Поделиться через


ColorChange Class

Color Change Effect.When the object is serialized out as xml, its qualified name is a:clrChange.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.ColorChange

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ColorTo))> _
<ChildElementInfoAttribute(GetType(ColorFrom))> _
Public Class ColorChange _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ColorChange
[ChildElementInfoAttribute(typeof(ColorTo))]
[ChildElementInfoAttribute(typeof(ColorFrom))]
public class ColorChange : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ColorFrom <a:clrFrom>

  • ColorTo <a:clrTo>

[ISO/IEC 29500-1 1st Edition]

20.1.8.16 clrChange (Color Change Effect)

This element specifies a Color Change Effect. Instances of clrFrom are replaced with instances of clrTo.

Parent Elements

blip (§20.1.8.13); cont (§20.1.8.20); effectDag (§20.1.8.25)

Child Elements

Subclause

clrFrom (Change Color From)

§20.1.8.17

clrTo (Change Color To)

§20.1.8.19

Attributes

Description

useA (Consider Alpha Values)

Specifies whether alpha values are considered for the effect. Effect alpha values are considered if useA is true, else they are ignored.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_ColorChangeEffect) is located in §A.4.1. 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

ColorChange Members

DocumentFormat.OpenXml.Drawing Namespace