LightRig Class
Light Rig.When the object is serialized out as xml, its qualified name is a:lightRig.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.LightRig
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(Rotation))> _
Public Class LightRig _
Inherits OpenXmlCompositeElement
用法
Dim instance As LightRig
[ChildElementInfoAttribute(typeof(Rotation))]
public class LightRig : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- Rotation <a:rot>
[ISO/IEC 29500-1 第 1 个版本]
20.1.5.9 lightRig (Light Rig)
This element defines the light rig associated with the table. The light rig comes into play when there is a 3D bevel applied to a cell. When 3D is used, the light rig defines the lighting properties associated with the scene.
Parent Elements |
---|
cell3D (§21.1.3.1); scene3d (§21.4.5.5); scene3d (§20.1.4.1.26) |
Child Elements |
Subclause |
---|---|
rot (Rotation) |
§20.1.5.11 |
Attributes |
Description |
---|---|
dir (Direction) |
Defines the direction from which the light rig is oriented in relation to the scene. [Example: Consider the following example of dir being used in a light rig:
In this example, we define the direction to be top. end example] The possible values for this attribute are defined by the ST_LightRigDirection simple type (§20.1.10.29). |
rig (Rig Preset) |
Defines the preset type of light rig which is to be applied to the scene. [Example: Consider the following example of rig being used in a light rig:
In this example, we define the rig to be a threePt rig. end example] The possible values for this attribute are defined by the ST_LightRigType simple type (§20.1.10.30). |
[Note: The W3C XML Schema definition of this element's content model (CT_LightRig) is located in §A.4.1. end note]
© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。
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.