# FarPoint.Win.VisualStyle.GetCurrentThemeName

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_VisualStyle_GetCurrentThemeName_" data-uid="FarPoint.Win.VisualStyle.GetCurrentThemeName*">GetCurrentThemeName Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_VisualStyle_GetCurrentThemeName_" data-uid="FarPoint.Win.VisualStyle.GetCurrentThemeName*"></a>
<h4 id="FarPoint_Win_VisualStyle_GetCurrentThemeName_System_Text_StringBuilder_System_Int32_System_Text_StringBuilder_System_Int32_System_Text_StringBuilder_System_Int32_" data-uid="FarPoint.Win.VisualStyle.GetCurrentThemeName(System.Text.StringBuilder,System.Int32,System.Text.StringBuilder,System.Int32,System.Text.StringBuilder,System.Int32)">GetCurrentThemeName(StringBuilder, int, StringBuilder, int, StringBuilder, int)</h4>
<div class="markdown level1 summary"><p>Gets the current theme name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static extern void GetCurrentThemeName(StringBuilder pszThemeFileName, int cchMaxNameChars, StringBuilder pszColorBuff, int cchMaxColorChars, StringBuilder pszSizeBuff, int cchMaxSizeChars)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub GetCurrentThemeName(pszThemeFileName As StringBuilder, cchMaxNameChars As Integer, pszColorBuff As StringBuilder, cchMaxColorChars As Integer, pszSizeBuff As StringBuilder, cchMaxSizeChars 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="https://learn.microsoft.com/dotnet/api/system.text.stringbuilder">StringBuilder</a></td>
      <td><span class="parametername">pszThemeFileName</span></td>
      <td><p>Theme name</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">cchMaxNameChars</span></td>
      <td><p>Maximum number of characters in the name</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.stringbuilder">StringBuilder</a></td>
      <td><span class="parametername">pszColorBuff</span></td>
      <td><p>Buffer for the color name</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">cchMaxColorChars</span></td>
      <td><p>Maximum number of characters in the color</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.text.stringbuilder">StringBuilder</a></td>
      <td><span class="parametername">pszSizeBuff</span></td>
      <td><p>Buffer for the size</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">cchMaxSizeChars</span></td>
      <td><p>Maximum number of characters in the size</p>
</td>
    </tr>
  </tbody>
</table>
</div>
