# FarPoint.Win.FpHyperlink.IsPointInPicture

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_FpHyperlink_IsPointInPicture_" data-uid="FarPoint.Win.FpHyperlink.IsPointInPicture*">IsPointInPicture Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_FpHyperlink_IsPointInPicture_" data-uid="FarPoint.Win.FpHyperlink.IsPointInPicture*"></a>
<h4 id="FarPoint_Win_FpHyperlink_IsPointInPicture_System_Drawing_Graphics_System_Int32_System_Int32_System_Drawing_Rectangle_FarPoint_Win_Picture_" data-uid="FarPoint.Win.FpHyperlink.IsPointInPicture(System.Drawing.Graphics,System.Int32,System.Int32,System.Drawing.Rectangle,FarPoint.Win.Picture)">IsPointInPicture(Graphics, int, int, Rectangle, Picture)</h4>
<div class="markdown level1 summary"><p>Determines if the point is in the picture of the hyperlink control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static bool IsPointInPicture(Graphics g, int x, int y, Rectangle faceRect, Picture pic)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function IsPointInPicture(g As Graphics, x As Integer, y As Integer, faceRect As Rectangle, pic As Picture) 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.graphics">Graphics</a></td>
      <td><span class="parametername">g</span></td>
      <td><p>GDI+ graphics surface</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>X-coordinate of point</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>Y-coordinate of point</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">faceRect</span></td>
      <td><p>Image rectangle</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Picture.html">Picture</a></td>
      <td><span class="parametername">pic</span></td>
      <td><p>Picture (image)</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 in the picture of the hyperlink control;otherwise false</p>
</td>
    </tr>
  </tbody>
</table>
</div>
