# GrapeCity.CalcEngine.Function.GetFormulaArrayDimensions

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_CalcEngine_Function_GetFormulaArrayDimensions_" data-uid="GrapeCity.CalcEngine.Function.GetFormulaArrayDimensions*">GetFormulaArrayDimensions Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_CalcEngine_Function_GetFormulaArrayDimensions_" data-uid="GrapeCity.CalcEngine.Function.GetFormulaArrayDimensions*"></a>
<h4 id="GrapeCity_CalcEngine_Function_GetFormulaArrayDimensions_GrapeCity_CalcEngine_IEvaluationContext_GrapeCity_CalcEngine_IValue_System_Int32__System_Int32__" data-uid="GrapeCity.CalcEngine.Function.GetFormulaArrayDimensions(GrapeCity.CalcEngine.IEvaluationContext,GrapeCity.CalcEngine.IValue,System.Int32@,System.Int32@)">GetFormulaArrayDimensions(IEvaluationContext, IValue, out int, out int)</h4>
<div class="markdown level1 summary"><p>Calculates the dimensions of the specified argument.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected void GetFormulaArrayDimensions(IEvaluationContext context, IValue value, out int rowCount, out int columnCount)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub GetFormulaArrayDimensions(context As IEvaluationContext, value As IValue, ByRef rowCount As Integer, ByRef columnCount As Integer)</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="GrapeCity.CalcEngine.IEvaluationContext.html">IEvaluationContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>The evaluation context.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.CalcEngine.IValue.html">IValue</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The argument of the function.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>The row count of the returned array.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>The column count of the returned array.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
