# GrapeCity.Documents.Layout.ContourConstraint

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Layout_ContourConstraint" data-uid="GrapeCity.Documents.Layout.ContourConstraint" class="text-break">ContourConstraint Class
</h1>
  <div class="markdown level0 summary"><p>Determines the min/max position of sides relative to the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</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"><a class="xref" href="GrapeCity.Documents.Layout.Constraint.html">Constraint</a></div>
    <div class="level2"><span class="xref">ContourConstraint</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_ContourConstraint_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ContourConstraint : Constraint</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ContourConstraint
    Inherits Constraint</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_ContourConstraint_Contour" data-uid="GrapeCity.Documents.Layout.ContourConstraint.Contour">
          <a class="xref" href="GrapeCity.Documents.Layout.ContourConstraint.Contour.html#GrapeCity_Documents_Layout_ContourConstraint_Contour">Contour</a>
        </td>
        <td class="markdown level1 summary"><p>Get the <a class="xref" href="GrapeCity.Documents.Layout.Contour.html">Contour</a> used in the constraint.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Layout_ContourConstraint_ContourPosition" data-uid="GrapeCity.Documents.Layout.ContourConstraint.ContourPosition">
          <a class="xref" href="GrapeCity.Documents.Layout.ContourConstraint.ContourPosition.html#GrapeCity_Documents_Layout_ContourConstraint_ContourPosition">ContourPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the position of anchor for the contour constraint.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
