# GrapeCity.ActiveReports.Chart.Light

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Chart_Light" data-uid="GrapeCity.ActiveReports.Chart.Light" class="text-break">Light Class
</h1>
  <div class="markdown level0 summary"><p>Represents lighting options and positioning</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.ActiveReports.Chart.Item.html">Item</a></div>
    <div class="level2"><span class="xref">Light</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphItem.html">IGraphItem</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphXmlSerializable.html">IGraphXmlSerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Chart.html">GrapeCity.ActiveReports.Chart</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Chart.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Chart_Light_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(Light.Converter))]
public sealed class Light : Item, IGraphItem, ICloneable, IGraphXmlSerializable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light__ctor" data-uid="GrapeCity.ActiveReports.Chart.Light.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.-ctor.html#GrapeCity_ActiveReports_Chart_Light__ctor">Light()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes new instance of the LightInfo class with a default settings</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light__ctor_GrapeCity_ActiveReports_Chart_Graphics_Point3d_GrapeCity_ActiveReports_Chart_LightType_System_Single_" data-uid="GrapeCity.ActiveReports.Chart.Light.#ctor(GrapeCity.ActiveReports.Chart.Graphics.Point3d,GrapeCity.ActiveReports.Chart.LightType,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.-ctor.html#GrapeCity_ActiveReports_Chart_Light__ctor_GrapeCity_ActiveReports_Chart_Graphics_Point3d_GrapeCity_ActiveReports_Chart_LightType_System_Single_">Light(Point3d, LightType, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes new instance of the LightInfo class</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light__ctor_System_String_" data-uid="GrapeCity.ActiveReports.Chart.Light.#ctor(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.-ctor.html#GrapeCity_ActiveReports_Chart_Light__ctor_System_String_">Light(string)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_" data-uid="GrapeCity.ActiveReports.Chart.Light.#ctor(System.String,GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.-ctor.html#GrapeCity_ActiveReports_Chart_Light__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_">Light(string, GraphXmlSerializationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_ActiveReports_Chart_Light_DirectionalRatio" data-uid="GrapeCity.ActiveReports.Chart.Light.DirectionalRatio">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.DirectionalRatio.html#GrapeCity_ActiveReports_Chart_Light_DirectionalRatio">DirectionalRatio</a>
        </td>
        <td class="markdown level1 summary"><p>Gets os sets directional/ambient intencity ratio</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light_IsDirty" data-uid="GrapeCity.ActiveReports.Chart.Light.IsDirty">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.IsDirty.html#GrapeCity_ActiveReports_Chart_Light_IsDirty">IsDirty</a>
        </td>
        <td class="markdown level1 summary"><p>This member overrides <pre><code class="lang-csharp">Item.IsDirty</code></pre>. Always false.
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light_Source" data-uid="GrapeCity.ActiveReports.Chart.Light.Source">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.Source.html#GrapeCity_ActiveReports_Chart_Light_Source">Source</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets light source position (direction for infinite source)</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light_Type" data-uid="GrapeCity.ActiveReports.Chart.Light.Type">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.Type.html#GrapeCity_ActiveReports_Chart_Light_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets type of the light source</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_ActiveReports_Chart_Light_Clone" data-uid="GrapeCity.ActiveReports.Chart.Light.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.Clone.html#GrapeCity_ActiveReports_Chart_Light_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>This member overrides <pre><code class="lang-csharp">Item.Clone</code></pre>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light_Equals_System_Object_" data-uid="GrapeCity.ActiveReports.Chart.Light.Equals(System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.Equals.html#GrapeCity_ActiveReports_Chart_Light_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Compare the Light object to another System.Object and check if the two are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Light_GetHashCode" data-uid="GrapeCity.ActiveReports.Chart.Light.GetHashCode">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Light.GetHashCode.html#GrapeCity_ActiveReports_Chart_Light_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>It functions as a hash function for a particular type. It is suitable for use in data structures such as hash algorithm and hash table.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
