Compartir a través de


ImageProperties Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • ImageLayer <a14:imgLayer>

2.3.3 imgProps

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

Element of type: CT_Photo

An extension list child element of: [ISO/IEC-29500-1] section 20.1.8.13 binary large image or picture (BLIP)

(see [ISO/IEC-29500-1] section 10.1.2 Office Open XML Native Extensibility Constructs)

Extension list Uri attribute: {BEBA8EAE-BF5A-486c-A8C5-ECC9F3942E4B}

A CT_Photo element that specifies properties used to produce the embedded picture in the containing binary large image or picture (BLIP).

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

<xsd:element name="imgProps" type="CT_Photo"/>

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

2.5.34 CT_Photo

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

Referenced by: imgProps

A complex type that specifies properties used to produce the embedded picture in the containing binary large image or picture (BLIP).

Child Elements:

imgLayer : A CT_PictureLayer element that specifies a relationship to an original picture and contains optional effects applied to the picture in the order applied.

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

<xsd:complexType name="CT_Photo">

<xsd:sequence>

<xsd:element name="imgLayer" type="CT_PictureLayer" minOccurs="1" maxOccurs="1"/>

</xsd:sequence>

</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

ImageProperties Members

DocumentFormat.OpenXml.Office2010.Drawing Namespace