# GrapeCity.Documents.Word.BiLevel

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_BiLevel" data-uid="GrapeCity.Documents.Word.BiLevel" class="text-break">BiLevel Class
</h1>
  <div class="markdown level0 summary"><p>Represents a bi-level (black/white) effect.</p>
<p>Input colors whose luminance is less than the specified <a class="xref" href="GrapeCity.Documents.Word.BiLevel.Threshold.html#GrapeCity_Documents_Word_BiLevel_Threshold">Threshold</a> value are changed to black.</p>
<p>Input colors whose luminance are greater than or equal the specified value are changed to white.</p>
<p>The alpha effect values are unaffected by this effect.</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"><a class="xref" href="GrapeCity.Documents.Word.ImageEffect.html">ImageEffect</a></div>
    <div class="level3"><span class="xref">BiLevel</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_BiLevel_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BiLevel : ImageEffect</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BiLevel
    Inherits ImageEffect</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_BiLevel_Threshold" data-uid="GrapeCity.Documents.Word.BiLevel.Threshold">
          <a class="xref" href="GrapeCity.Documents.Word.BiLevel.Threshold.html#GrapeCity_Documents_Word_BiLevel_Threshold">Threshold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the luminance threshold for the Bi-Level effect.</p>
<p>Values greater than or equal to the threshold are set to white. </p>
<p>Values lesser than the threshold are set to black.</p> 
<p>Allowed values are from <b>0</b> to <b>1</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_BiLevel_Equals_GrapeCity_Documents_Word_BiLevel_" data-uid="GrapeCity.Documents.Word.BiLevel.Equals(GrapeCity.Documents.Word.BiLevel)">
          <a class="xref" href="GrapeCity.Documents.Word.BiLevel.Equals.html#GrapeCity_Documents_Word_BiLevel_Equals_GrapeCity_Documents_Word_BiLevel_">Equals(BiLevel)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_BiLevel_Equals_System_Object_" data-uid="GrapeCity.Documents.Word.BiLevel.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Word.BiLevel.Equals.html#GrapeCity_Documents_Word_BiLevel_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_BiLevel_GetHashCode" data-uid="GrapeCity.Documents.Word.BiLevel.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Word.BiLevel.GetHashCode.html#GrapeCity_Documents_Word_BiLevel_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
