# FarPoint.Win.Spread.DrawingSpace.PSObject.Contains

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_DrawingSpace_PSObject_Contains_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Contains*">Contains Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_DrawingSpace_PSObject_Contains_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Contains*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_PSObject_Contains_System_Drawing_Point_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Contains(System.Drawing.Point)">Contains(Point)</h4>
<div class="markdown level1 summary"><p>Determines whether the container contains the specified point.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual bool Contains(Point pt)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function Contains(pt As Point) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">pt</span></td>
      <td><p>Point to check</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if the point is found in the collection; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_DrawingSpace_PSObject_Contains_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Contains*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_PSObject_Contains_System_Drawing_Point_System_Boolean_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Contains(System.Drawing.Point,System.Boolean)">Contains(Point, bool)</h4>
<div class="markdown level1 summary"><p>Determines whether the container contains the specified point ignoring transparency.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual bool Contains(Point pt, bool ignoreTransparency)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function Contains(pt As Point, ignoreTransparency As Boolean) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">pt</span></td>
      <td><p>Point to check</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ignoreTransparency</span></td>
      <td><p>Whether to ignore transparency</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if it contains the point; false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
</div>
