LightRig Class
Defines the LightRig Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is w14:lightRig.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.Word.LightRig
Namespace: DocumentFormat.OpenXml.Office2010.Word
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SphereCoordinates), FileFormatVersions.Office2010)> _
Public Class LightRig _
Inherits OpenXmlCompositeElement
用法
Dim instance As LightRig
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SphereCoordinates), FileFormatVersions.Office2010)]
public class LightRig : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- SphereCoordinates <w14:rot>
2.5.20 CT_LightRig
Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml
Referenced by: CT_Scene3D
Specifies the lighting properties associated with the scene.
Child Elements:
rot : A CT_SphereCoords element that specifies the rotation in 3D space.
Attributes:
rig : An ST_LightRigType attribute that specifies the preset type of light rig which is to be applied to the scene.
dir : An ST_LightRigDirection attribute that specifies direction from which the light rig is oriented in relation to the scene.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_LightRig">
<xsd:sequence>
<xsd:element name="rot" type="CT_SphereCoords" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="rig" type="ST_LightRigType" use="required"/>
<xsd:attribute name="dir" type="ST_LightRigDirection" use="required"/>
</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.