# GrapeCity.Documents.Layout.LayoutRect.CreatePoint

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Layout_LayoutRect_CreatePoint_" data-uid="GrapeCity.Documents.Layout.LayoutRect.CreatePoint*">CreatePoint Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Layout_LayoutRect_CreatePoint_" data-uid="GrapeCity.Documents.Layout.LayoutRect.CreatePoint*"></a>
<h4 id="GrapeCity_Documents_Layout_LayoutRect_CreatePoint_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.Documents.Layout.LayoutRect.CreatePoint(System.Single,System.Single,System.Single,System.Single)">CreatePoint(float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Creates a point to be used as an anchor for other <a class="xref" href="GrapeCity.Documents.Layout.LayoutRect.html">LayoutRect</a>s.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AnchorPoint CreatePoint(float widthFactor, float heightFactor, float leftOffset = 0, float topOffset = 0)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreatePoint(widthFactor As Single, heightFactor As Single, Optional leftOffset As Single = 0, Optional topOffset As Single = 0) As AnchorPoint</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.single">float</a></td>
      <td><span class="parametername">widthFactor</span></td>
      <td><p>The value to be multiplied by <a class="xref" href="GrapeCity.Documents.Layout.LayoutRect.Width.html#GrapeCity_Documents_Layout_LayoutRect_Width">Width</a> before adding to the position of the left side.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">heightFactor</span></td>
      <td><p>The value to be multiplied by <a class="xref" href="GrapeCity.Documents.Layout.LayoutRect.Height.html#GrapeCity_Documents_Layout_LayoutRect_Height">Height</a> before adding to the position of the top side.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">leftOffset</span></td>
      <td><p>The value to be added to the position of the left side.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">topOffset</span></td>
      <td><p>The value to be added to the position of the top side.</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="GrapeCity.Documents.Layout.AnchorPoint.html">AnchorPoint</a></td>
      <td><p>The created <a class="xref" href="GrapeCity.Documents.Layout.AnchorPoint.html">AnchorPoint</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
