# C1.C1Preview.Shadow

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_Shadow" data-uid="C1.C1Preview.Shadow" class="text-break">Shadow Struct
</h1>
  <div class="markdown level0 summary"><p>Represents the shadow cast by a <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_Shadow_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Shadow</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Shadow</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="C1_C1Preview_Shadow__ctor_System_Single_System_Single_C1_C1Preview_Unit_System_Single_System_Windows_Media_Color_" data-uid="C1.C1Preview.Shadow.#ctor(System.Single,System.Single,C1.C1Preview.Unit,System.Single,System.Windows.Media.Color)">
          <a class="xref" href="C1.C1Preview.Shadow.-ctor.html#C1_C1Preview_Shadow__ctor_System_Single_System_Single_C1_C1Preview_Unit_System_Single_System_Windows_Media_Color_">Shadow(float, float, Unit, float, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.Shadow.html">Shadow</a> structure,
assigning <a class="xref" href="C1.C1Preview.Shadow.Transparency.html#C1_C1Preview_Shadow_Transparency">Transparency</a>, <a class="xref" href="C1.C1Preview.Shadow.Size.html#C1_C1Preview_Shadow_Size">Size</a>, <a class="xref" href="C1.C1Preview.Shadow.Distance.html#C1_C1Preview_Shadow_Distance">Distance</a> and <a class="xref" href="C1.C1Preview.Shadow.Angle.html#C1_C1Preview_Shadow_Angle">Angle</a>
values.</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="C1_C1Preview_Shadow_Angle" data-uid="C1.C1Preview.Shadow.Angle">
          <a class="xref" href="C1.C1Preview.Shadow.Angle.html#C1_C1Preview_Shadow_Angle">Angle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the angle, in degrees, of the shadow. The angle is measured relative
to the three o'clock position clockwise.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_AngleExpr" data-uid="C1.C1Preview.Shadow.AngleExpr">
          <a class="xref" href="C1.C1Preview.Shadow.AngleExpr.html#C1_C1Preview_Shadow_AngleExpr">AngleExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Shadow.Angle.html#C1_C1Preview_Shadow_Angle">Angle</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_Color" data-uid="C1.C1Preview.Shadow.Color">
          <a class="xref" href="C1.C1Preview.Shadow.Color.html#C1_C1Preview_Shadow_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the shadow.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_ColorExpr" data-uid="C1.C1Preview.Shadow.ColorExpr">
          <a class="xref" href="C1.C1Preview.Shadow.ColorExpr.html#C1_C1Preview_Shadow_ColorExpr">ColorExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Shadow.Color.html#C1_C1Preview_Shadow_Color">Color</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_Distance" data-uid="C1.C1Preview.Shadow.Distance">
          <a class="xref" href="C1.C1Preview.Shadow.Distance.html#C1_C1Preview_Shadow_Distance">Distance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance that the shadow's center is offset from the the object's center.
Note that only absolute <a class="xref" href="C1.C1Preview.Unit.html">Unit</a> values (such as &quot;0.5in&quot; or &quot;4mm&quot;) can
be assigned to this property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_DistanceExpr" data-uid="C1.C1Preview.Shadow.DistanceExpr">
          <a class="xref" href="C1.C1Preview.Shadow.DistanceExpr.html#C1_C1Preview_Shadow_DistanceExpr">DistanceExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Shadow.Distance.html#C1_C1Preview_Shadow_Distance">Distance</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_Size" data-uid="C1.C1Preview.Shadow.Size">
          <a class="xref" href="C1.C1Preview.Shadow.Size.html#C1_C1Preview_Shadow_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of the shadow relative to the size of the object, in percent.
A value of 100 indicates that the shadow has the same size
as the object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_SizeExpr" data-uid="C1.C1Preview.Shadow.SizeExpr">
          <a class="xref" href="C1.C1Preview.Shadow.SizeExpr.html#C1_C1Preview_Shadow_SizeExpr">SizeExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Shadow.Size.html#C1_C1Preview_Shadow_Size">Size</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_Transparency" data-uid="C1.C1Preview.Shadow.Transparency">
          <a class="xref" href="C1.C1Preview.Shadow.Transparency.html#C1_C1Preview_Shadow_Transparency">Transparency</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the transparency of the shadow, in percent.
A value of <b>0</b> defines a solid (non-transparent) shadow,
a value of <b>100</b> defines a fully transparent (invisible) shadow.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Shadow_TransparencyExpr" data-uid="C1.C1Preview.Shadow.TransparencyExpr">
          <a class="xref" href="C1.C1Preview.Shadow.TransparencyExpr.html#C1_C1Preview_Shadow_TransparencyExpr">TransparencyExpr</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the expression used to calculate <a class="xref" href="C1.C1Preview.Shadow.Transparency.html#C1_C1Preview_Shadow_Transparency">Transparency</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
