# GrapeCity.Documents.Layout.Contour

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Layout_Contour" data-uid="GrapeCity.Documents.Layout.Contour" class="text-break">Contour Class
</h1>
  <div class="markdown level0 summary"><p>Represents a closed figure on a <a class="xref" href="GrapeCity.Documents.Layout.LayoutView.html">LayoutView</a>.</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"><span class="xref">Contour</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Layout.html">GrapeCity.Documents.Layout</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Layout_Contour_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Contour</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Contour</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_Layout_Contour_Points" data-uid="GrapeCity.Documents.Layout.Contour.Points">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.Points.html#GrapeCity_Documents_Layout_Contour_Points">Points</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a read-only list of <a class="xref" href="GrapeCity.Documents.Layout.AnchorPoint.html">AnchorPoint</a>s.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_Tag" data-uid="GrapeCity.Documents.Layout.Contour.Tag">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.Tag.html#GrapeCity_Documents_Layout_Contour_Tag">Tag</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the object that contains data about the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_View" data-uid="GrapeCity.Documents.Layout.Contour.View">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.View.html#GrapeCity_Documents_Layout_Contour_View">View</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the owner <a class="xref" href="GrapeCity.Documents.Layout.LayoutView.html">LayoutView</a> object.</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_Layout_Contour_AddPoint_GrapeCity_Documents_Layout_AnchorPoint_" data-uid="GrapeCity.Documents.Layout.Contour.AddPoint(GrapeCity.Documents.Layout.AnchorPoint)">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.AddPoint.html#GrapeCity_Documents_Layout_Contour_AddPoint_GrapeCity_Documents_Layout_AnchorPoint_">AddPoint(AnchorPoint)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds one <a class="xref" href="GrapeCity.Documents.Layout.AnchorPoint.html">AnchorPoint</a> to the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_AddPoints_System_Collections_Generic_IEnumerable_GrapeCity_Documents_Layout_AnchorPoint__" data-uid="GrapeCity.Documents.Layout.Contour.AddPoints(System.Collections.Generic.IEnumerable{GrapeCity.Documents.Layout.AnchorPoint})">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.AddPoints.html#GrapeCity_Documents_Layout_Contour_AddPoints_System_Collections_Generic_IEnumerable_GrapeCity_Documents_Layout_AnchorPoint__">AddPoints(IEnumerable&lt;AnchorPoint&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds all <a class="xref" href="GrapeCity.Documents.Layout.AnchorPoint.html">AnchorPoint</a>s from the collection to the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_DetachFromView" data-uid="GrapeCity.Documents.Layout.Contour.DetachFromView">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.DetachFromView.html#GrapeCity_Documents_Layout_Contour_DetachFromView">DetachFromView()</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a> from its owner <a class="xref" href="GrapeCity.Documents.Layout.LayoutView.html">LayoutView</a>
and removes all constraints referencing the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_GetBounds_GrapeCity_Documents_Layout_LayoutRect_" data-uid="GrapeCity.Documents.Layout.Contour.GetBounds(GrapeCity.Documents.Layout.LayoutRect)">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.GetBounds.html#GrapeCity_Documents_Layout_Contour_GetBounds_GrapeCity_Documents_Layout_LayoutRect_">GetBounds(LayoutRect)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the minimal <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a> that contains all points of the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a> relative to the specified <a class="xref" href="GrapeCity.Documents.Layout.LayoutRect.html">LayoutRect</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_GetBounds_GrapeCity_Documents_Layout_LayoutRect_System_Single__System_Single__System_Single__System_Single__" data-uid="GrapeCity.Documents.Layout.Contour.GetBounds(GrapeCity.Documents.Layout.LayoutRect,System.Single@,System.Single@,System.Single@,System.Single@)">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.GetBounds.html#GrapeCity_Documents_Layout_Contour_GetBounds_GrapeCity_Documents_Layout_LayoutRect_System_Single__System_Single__System_Single__System_Single__">GetBounds(LayoutRect, out float, out float, out float, out float)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the minimum and maximum positions of the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a> relative to the specified <a class="xref" href="GrapeCity.Documents.Layout.LayoutRect.html">LayoutRect</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_GetBounds_GrapeCity_Documents_Layout_LayoutView_" data-uid="GrapeCity.Documents.Layout.Contour.GetBounds(GrapeCity.Documents.Layout.LayoutView)">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.GetBounds.html#GrapeCity_Documents_Layout_Contour_GetBounds_GrapeCity_Documents_Layout_LayoutView_">GetBounds(LayoutView)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the minimal <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a> that contains all points of the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a> relative to the specified <a class="xref" href="GrapeCity.Documents.Layout.LayoutView.html">LayoutView</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_GetBounds_GrapeCity_Documents_Layout_LayoutView_System_Single__System_Single__System_Single__System_Single__" data-uid="GrapeCity.Documents.Layout.Contour.GetBounds(GrapeCity.Documents.Layout.LayoutView,System.Single@,System.Single@,System.Single@,System.Single@)">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.GetBounds.html#GrapeCity_Documents_Layout_Contour_GetBounds_GrapeCity_Documents_Layout_LayoutView_System_Single__System_Single__System_Single__System_Single__">GetBounds(LayoutView, out float, out float, out float, out float)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the minimum and maximum positions of the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a> relative to the specified <a class="xref" href="GrapeCity.Documents.Layout.LayoutView.html">LayoutView</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_MapToRect_GrapeCity_Documents_Layout_LayoutRect_" data-uid="GrapeCity.Documents.Layout.Contour.MapToRect(GrapeCity.Documents.Layout.LayoutRect)">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.MapToRect.html#GrapeCity_Documents_Layout_Contour_MapToRect_GrapeCity_Documents_Layout_LayoutRect_">MapToRect(LayoutRect)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an array of all <a class="xref" href="GrapeCity.Documents.Layout.AnchorPoint.html">AnchorPoint</a> coordinates transformed to the specified <a class="xref" href="GrapeCity.Documents.Layout.LayoutRect.html">LayoutRect</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_Contour_MapToView_GrapeCity_Documents_Layout_LayoutView_" data-uid="GrapeCity.Documents.Layout.Contour.MapToView(GrapeCity.Documents.Layout.LayoutView)">
          <a class="xref" href="GrapeCity.Documents.Layout.Contour.MapToView.html#GrapeCity_Documents_Layout_Contour_MapToView_GrapeCity_Documents_Layout_LayoutView_">MapToView(LayoutView)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an array of all <a class="xref" href="GrapeCity.Documents.Layout.AnchorPoint.html">AnchorPoint</a> coordinates transformed to the specified <a class="xref" href="GrapeCity.Documents.Layout.LayoutView.html">LayoutView</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
