# C1.PivotEngine.C1PivotEngine.GetViewTitle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_PivotEngine_C1PivotEngine_GetViewTitle_" data-uid="C1.PivotEngine.C1PivotEngine.GetViewTitle*">GetViewTitle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_PivotEngine_C1PivotEngine_GetViewTitle_" data-uid="C1.PivotEngine.C1PivotEngine.GetViewTitle*"></a>
<h4 id="C1_PivotEngine_C1PivotEngine_GetViewTitle" data-uid="C1.PivotEngine.C1PivotEngine.GetViewTitle">GetViewTitle()</h4>
<div class="markdown level1 summary"><p>Gets a string with a title describing the current view.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string GetViewTitle()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetViewTitle() As String</code></pre>
</div>
<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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A string describing the current view.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_PivotEngine_C1PivotEngine_GetViewTitle_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The string includes the names of the fields currently active and
can be used as a caption for charts and reports.</p>
</div>


<a id="C1_PivotEngine_C1PivotEngine_GetViewTitle_" data-uid="C1.PivotEngine.C1PivotEngine.GetViewTitle*"></a>
<h4 id="C1_PivotEngine_C1PivotEngine_GetViewTitle_System_String_System_String_" data-uid="C1.PivotEngine.C1PivotEngine.GetViewTitle(System.String,System.String)">GetViewTitle(string, string)</h4>
<div class="markdown level1 summary"><p>Gets a localized string with a title describing the current view.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string GetViewTitle(string by, string and)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetViewTitle(by As String, [and] As String) As String</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.string">string</a></td>
      <td><span class="parametername">by</span></td>
      <td><p>String to use as a separator between value and row/column field names.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">and</span></td>
      <td><p>String to use as a separator between row and column field names.</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p>A string describing the current view.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_PivotEngine_C1PivotEngine_GetViewTitle_System_String_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The string includes the names of the fields currently active and
can be used as a caption for charts and reports.</p>
</div>
</div>
