# GrapeCity.Documents.Word.Reflection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Reflection" data-uid="GrapeCity.Documents.Word.Reflection" class="text-break">Reflection Class
</h1>
  <div class="markdown level0 summary"><p>Represents reflection effect that can be 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">Reflection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IFixedFormattingBag.html">IFixedFormattingBag</a></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_Reflection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Reflection : FormattingBag, IFixedFormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Reflection
    Inherits FormattingBag
    Implements IFixedFormattingBag</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_Reflection_Alignment" data-uid="GrapeCity.Documents.Word.Reflection.Alignment">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.Alignment.html#GrapeCity_Documents_Word_Reflection_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the reflection alignment.</p>
<p>The default is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> for text and <a class="xref" href="GrapeCity.Documents.Word.RectangleAlignment.html#GrapeCity_Documents_Word_RectangleAlignment_Bottom">Bottom</a> for drawings.</p>
<p>Note that <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> cannot be used for drawings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_Angle" data-uid="GrapeCity.Documents.Word.Reflection.Angle">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.Angle.html#GrapeCity_Documents_Word_Reflection_Angle">Angle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction to offset the reflection.</p>
<p>Allowed values are from <b>0</b> to <b>359.9</b>, inclusive.</p>
<p>The default is <b>0</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_Blur" data-uid="GrapeCity.Documents.Word.Reflection.Blur">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.Blur.html#GrapeCity_Documents_Word_Reflection_Blur">Blur</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the blur radius of the reflection.</p>
<p>Allowed values are from <b>0</b> to <b>100</b>, inclusive.</p>
<p>The default is <b>0</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_Distance" data-uid="GrapeCity.Documents.Word.Reflection.Distance">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.Distance.html#GrapeCity_Documents_Word_Reflection_Distance">Distance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value specifying how far to offset the reflection.</p>
<p>Allowed values are from <b>0</b> to <b>100</b>, inclusive.</p>
<p>The default is <b>0</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_EndOpacity" data-uid="GrapeCity.Documents.Word.Reflection.EndOpacity">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.EndOpacity.html#GrapeCity_Documents_Word_Reflection_EndOpacity">EndOpacity</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ending reflection opacity.</p>
<p>Allowed values are from <b>0</b> to <b>100</b>, inclusive.</p>
<p>The default is <b>0</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_EndOpacityPosition" data-uid="GrapeCity.Documents.Word.Reflection.EndOpacityPosition">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.EndOpacityPosition.html#GrapeCity_Documents_Word_Reflection_EndOpacityPosition">EndOpacityPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the end position along the gradient ramp of the end opacity value.</p>
<p>Allowed values are from <b>0</b> to <b>100</b>, inclusive.</p>
<p>The default is <b>0</b> for text and <b>100</b> for drawings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_IsFixed" data-uid="GrapeCity.Documents.Word.Reflection.IsFixed">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.IsFixed.html#GrapeCity_Documents_Word_Reflection_IsFixed">IsFixed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the formatting is fixed in the class instance level.</p>
<p>If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, any formatting changes on an ancestor level of the same class will be ignored.</p>
<p>If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, changing a property on an ancestor level will apply to this level too.</p>
<p>For example, changing a property of <a class="xref" href="GrapeCity.Documents.Word.Font.Fill.html#GrapeCity_Documents_Word_Font_Fill">Fill</a> on style level will change that property
only for those <a class="xref" href="GrapeCity.Documents.Word.Run.html">Run</a>s that have <b>IsFixed</b> equal to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_OpacityAngle" data-uid="GrapeCity.Documents.Word.Reflection.OpacityAngle">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.OpacityAngle.html#GrapeCity_Documents_Word_Reflection_OpacityAngle">OpacityAngle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction of the opacity gradient ramp relative to the text.</p>
<p>Allowed values are from <b>0</b> to <b>359.9</b>, inclusive.</p>
<p>The default is <b>0</b> for text and <b>100</b> for drawings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_RotateWithObject" data-uid="GrapeCity.Documents.Word.Reflection.RotateWithObject">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.RotateWithObject.html#GrapeCity_Documents_Word_Reflection_RotateWithObject">RotateWithObject</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the reflection rotates along with the object when the object is rotated.</p>
<p>The default is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
<p>Note that this property cannot be applied for text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_ScaleX" data-uid="GrapeCity.Documents.Word.Reflection.ScaleX">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.ScaleX.html#GrapeCity_Documents_Word_Reflection_ScaleX">ScaleX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal scaling factor of the reflection.</p>
<p>The default is <b>0</b> for text and <b>100</b> for drawings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_ScaleY" data-uid="GrapeCity.Documents.Word.Reflection.ScaleY">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.ScaleY.html#GrapeCity_Documents_Word_Reflection_ScaleY">ScaleY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical scaling factor of the reflection.</p>
<p>The default is <b>0</b> for text and <b>100</b> for drawings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_SkewX" data-uid="GrapeCity.Documents.Word.Reflection.SkewX">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.SkewX.html#GrapeCity_Documents_Word_Reflection_SkewX">SkewX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal skew angle of the reflection.</p>
<p>Allowed values are from <b>-89.9</b> to <b>89.9</b>, inclusive.</p>
<p>The default is <b>0</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_SkewY" data-uid="GrapeCity.Documents.Word.Reflection.SkewY">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.SkewY.html#GrapeCity_Documents_Word_Reflection_SkewY">SkewY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical skew angle of the reflection.</p>
<p>Allowed values are from <b>-89.9</b> to <b>89.9</b>, inclusive.</p>
<p>The default is <b>0</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_StartOpacity" data-uid="GrapeCity.Documents.Word.Reflection.StartOpacity">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.StartOpacity.html#GrapeCity_Documents_Word_Reflection_StartOpacity">StartOpacity</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting reflection opacity.</p>
<p>Allowed values are from <b>0</b> to <b>100</b>, inclusive.</p>
<p>The default is <b>0</b> for text and <b>100</b> for drawings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_StartOpacityPosition" data-uid="GrapeCity.Documents.Word.Reflection.StartOpacityPosition">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.StartOpacityPosition.html#GrapeCity_Documents_Word_Reflection_StartOpacityPosition">StartOpacityPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the start position along the gradient ramp of the start opacity value.</p>
<p>Allowed values are from <b>0</b> to <b>100</b>, inclusive.</p>
<p>The default is <b>0</b>.</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_Reflection_Clean" data-uid="GrapeCity.Documents.Word.Reflection.Clean">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.Clean.html#GrapeCity_Documents_Word_Reflection_Clean">Clean()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets all properties to their default values.</p>
<p>Also sets <a class="xref" href="GrapeCity.Documents.Word.IFixedFormattingBag.IsFixed.html#GrapeCity_Documents_Word_IFixedFormattingBag_IsFixed">IsFixed</a> to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if any properties of this class are defined on an ancestor level.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_Equals_System_Object_" data-uid="GrapeCity.Documents.Word.Reflection.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.Equals.html#GrapeCity_Documents_Word_Reflection_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_FixInheritedValues" data-uid="GrapeCity.Documents.Word.Reflection.FixInheritedValues">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.FixInheritedValues.html#GrapeCity_Documents_Word_Reflection_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_Reflection_GetHashCode" data-uid="GrapeCity.Documents.Word.Reflection.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.GetHashCode.html#GrapeCity_Documents_Word_Reflection_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Reflection_Reset" data-uid="GrapeCity.Documents.Word.Reflection.Reset">
          <a class="xref" href="GrapeCity.Documents.Word.Reflection.Reset.html#GrapeCity_Documents_Word_Reflection_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets all properties to their inherited values.</p>
<p>Also sets <a class="xref" href="GrapeCity.Documents.Word.IFixedFormattingBag.IsFixed.html#GrapeCity_Documents_Word_IFixedFormattingBag_IsFixed">IsFixed</a> to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
