# GrapeCity.ActiveReports.Design.Designer.PointToSection

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Design_Designer_PointToSection_" data-uid="GrapeCity.ActiveReports.Design.Designer.PointToSection*">PointToSection Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Design_Designer_PointToSection_" data-uid="GrapeCity.ActiveReports.Design.Designer.PointToSection*"></a>
<h4 id="GrapeCity_ActiveReports_Design_Designer_PointToSection_System_Object_System_Drawing_Point_" data-uid="GrapeCity.ActiveReports.Design.Designer.PointToSection(System.Object,System.Drawing.Point)">PointToSection(object, Point)</h4>
<div class="markdown level1 summary"><p>Translates a point from designer coordinates to coordinates relative to a specified section.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Point PointToSection(object section, Point point)</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.object">object</a></td>
      <td><span class="parametername">section</span></td>
      <td><p>The section to which the point's coordinates will be translated. Must not be null.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">point</span></td>
      <td><p>The point in designer coordinates that needs to be translated.</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.drawing.point">Point</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a> representing the translated coordinates within the context of the specified section.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.nullreferenceexception">NullReferenceException</a></td>
      <td><p>Thrown if the <code class="paramref">section</code> parameter is null.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
