# GrapeCity.Documents.Word.Lighting

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Lighting" data-uid="GrapeCity.Documents.Word.Lighting" class="text-break">Lighting Class
</h1>
  <div class="markdown level0 summary"><p>Represents a light rig associated with an object.
The light rig comes into play when there is a 3D bevel applied to an object.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Word.FormattingBag.html">FormattingBag</a></div>
    <div class="level2"><span class="xref">Lighting</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Lighting_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Lighting : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Lighting
    Inherits FormattingBag</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Lighting_Direction" data-uid="GrapeCity.Documents.Word.Lighting.Direction">
          <a class="xref" href="GrapeCity.Documents.Word.Lighting.Direction.html#GrapeCity_Documents_Word_Lighting_Direction">Direction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction from which the light rig is oriented in relation to the scene.</p>
<p>Default value is <a class="xref" href="GrapeCity.Documents.Word.LightRigDirection.html#GrapeCity_Documents_Word_LightRigDirection_Top">Top</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Lighting_Rotation" data-uid="GrapeCity.Documents.Word.Lighting.Rotation">
          <a class="xref" href="GrapeCity.Documents.Word.Lighting.Rotation.html#GrapeCity_Documents_Word_Lighting_Rotation">Rotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the light rig rotation.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Lighting_Type" data-uid="GrapeCity.Documents.Word.Lighting.Type">
          <a class="xref" href="GrapeCity.Documents.Word.Lighting.Type.html#GrapeCity_Documents_Word_Lighting_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the preset type of light rig which is to be applied to the scene.</p>
<p>Default value is <a class="xref" href="GrapeCity.Documents.Word.LightRigType.html#GrapeCity_Documents_Word_LightRigType_NoLight">NoLight</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Lighting_FixInheritedValues" data-uid="GrapeCity.Documents.Word.Lighting.FixInheritedValues">
          <a class="xref" href="GrapeCity.Documents.Word.Lighting.FixInheritedValues.html#GrapeCity_Documents_Word_Lighting_FixInheritedValues">FixInheritedValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Fixes all inherited values as &quot;direct&quot; values for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Lighting_Reset" data-uid="GrapeCity.Documents.Word.Lighting.Reset">
          <a class="xref" href="GrapeCity.Documents.Word.Lighting.Reset.html#GrapeCity_Documents_Word_Lighting_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets lighting to inherited defaults.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
