RecolorImages class

Office 2013 and later

Defines the RecolorImages Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is dgm14:recolorImg.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Drawing.Diagram.RecolorImages

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

No code example is currently available or this language may not be supported.

2.3.32 recolorImg

Target namespace: http://schemas.microsoft.com/office/drawing/2010/diagram

A CT_Boolean element that specifies that images in the diagram are to be rendered as duotone, and thus rendered with the color specified by the fillCrlLst ([ISO/IEC-29500-1] section 21.4.4.8) of the color transform on the diagram.

The following figures demonstrate the effect of this flag on a diagram with images in it.

Figure 1: recolorImg is set to "false" or not present

Figure 2: recolorImg is set to "true"

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="recolorImg" type="CT_Boolean"/>

See section 5.17 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.83 CT_Boolean

Target namespace: http://schemas.microsoft.com/office/drawing/2010/diagram

Referenced by: recolorImg

Defines a property with a Boolean value.

Attributes:

val: Specifies a binary value for the property defined by the parent XML element. The default is FALSE.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Boolean">

<xsd:attribute name="val" type="xsd:boolean" use="optional" default="false"/>

</xsd:complexType>

See section 5.17 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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