# GrapeCity.Documents.Excel.IGraphic.LockAspectRatio

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_IGraphic_LockAspectRatio_" data-uid="GrapeCity.Documents.Excel.IGraphic.LockAspectRatio*">LockAspectRatio Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_IGraphic_LockAspectRatio_" data-uid="GrapeCity.Documents.Excel.IGraphic.LockAspectRatio*"></a>
<h4 id="GrapeCity_Documents_Excel_IGraphic_LockAspectRatio" data-uid="GrapeCity.Documents.Excel.IGraphic.LockAspectRatio">LockAspectRatio</h4>
<div class="markdown level1 summary"><p>True if the specified shape retains its original proportions when you resize it. False if you can change the height and width of the shape independently of one another when you resize it.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool LockAspectRatio { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property LockAspectRatio As Boolean</code></pre>
</div>
</div>
