Partager via


ImageLayer Class

Defines the ImageLayer Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is a14:imgLayer.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Drawing.ImageLayer

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ImageEffect), FileFormatVersions.Office2010)> _
Public Class ImageLayer _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ImageLayer
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ImageEffect), FileFormatVersions.Office2010)]
public class ImageLayer : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ImageEffect <a14:imgEffect>

2.5.33 CT_PictureLayer

Target namespace: https://schemas.microsoft.com/office/drawing/2007/7/7/main

Referenced by: CT_Photo

A complex type that specifies a relationship to an original picture and contains optional effects applied to the picture in the order applied.

Child Elements:

imgEffect : A CT_PictureEffect element that specifies an effect applied to the picture.

Attributes:

r:embed : An ST_RelationshipId ([ISO/IEC-29500-1] section 22.8.2.1) attribute that specifies the relationship identifier that is used to determine the location of the picture.

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

<xsd:complexType name="CT_PictureLayer">

<xsd:sequence>

<xsd:element name="imgEffect" type="CT_PictureEffect" minOccurs="0" maxOccurs="unbounded"/>

</xsd:sequence>

<xsd:attribute ref="r:embed" use="optional" default=""/>

</xsd:complexType>

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

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

ImageLayer Members

DocumentFormat.OpenXml.Office2010.Drawing Namespace