Partager via


Scene3D Class

Defines the Scene3D Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:scene3d.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.Scene3D

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Camera <w14:camera>

  • LightRig <w14:lightRig>

2.5.27 CT_Scene3D

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: wScene3d

Specifies 3D scene properties.

Child Elements:

camera : A CT_Camera element that specifies the placement of the camera.

lightRig : A CT_LightRig element that specifies the lighting properties associated with the scene.

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

<xsd:complexType name="CT_Scene3D">

<xsd:sequence>

<xsd:element name="camera" type="CT_Camera"/>

<xsd:element name="lightRig" type="CT_LightRig"/>

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

Scene3D Members

DocumentFormat.OpenXml.Office2010.Word Namespace