# C1.Util.DX.DirectWrite.TextAnalyzer1.GetBaseline

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DirectWrite_TextAnalyzer1_GetBaseline_" data-uid="C1.Util.DX.DirectWrite.TextAnalyzer1.GetBaseline*">GetBaseline Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DirectWrite_TextAnalyzer1_GetBaseline_" data-uid="C1.Util.DX.DirectWrite.TextAnalyzer1.GetBaseline*"></a>
<h4 id="C1_Util_DX_DirectWrite_TextAnalyzer1_GetBaseline_C1_Util_DX_DirectWrite_FontFace_C1_Util_DX_DirectWrite_Baseline_C1_Util_DX_Bool_C1_Util_DX_Bool_C1_Util_DX_DirectWrite_ScriptAnalysis_System_String_System_Int32__C1_Util_DX_Bool__" data-uid="C1.Util.DX.DirectWrite.TextAnalyzer1.GetBaseline(C1.Util.DX.DirectWrite.FontFace,C1.Util.DX.DirectWrite.Baseline,C1.Util.DX.Bool,C1.Util.DX.Bool,C1.Util.DX.DirectWrite.ScriptAnalysis,System.String,System.Int32@,C1.Util.DX.Bool@)">GetBaseline(FontFace, Baseline, Bool, Bool, ScriptAnalysis, string, out int, out Bool)</h4>
<div class="markdown level1 summary"><p>HRESULT IDWriteTextAnalyzer1::GetBaseline([In] IDWriteFontFace* fontFace,[In] DWRITE_BASELINE baseline,[In] BOOL isVertical,[In] BOOL isSimulationAllowed,[In] DWRITE_SCRIPT_ANALYSIS scriptAnalysis,[In, Optional] const wchar_t* localeName,[Out] int* baselineCoordinate,[Out] BOOL* exists)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GetBaseline(FontFace fontFace, Baseline baseline, Bool isVertical, Bool isSimulationAllowed, ScriptAnalysis scriptAnalysis, string localeName, out int baselineCoordinate, out Bool exists)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GetBaseline(fontFace As FontFace, baseline As Baseline, isVertical As Bool, isSimulationAllowed As Bool, scriptAnalysis As ScriptAnalysis, localeName As String, ByRef baselineCoordinate As Integer, ByRef exists As Bool)</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="C1.Util.DX.DirectWrite.FontFace.html">FontFace</a></td>
      <td><span class="parametername">fontFace</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DirectWrite.Baseline.html">Baseline</a></td>
      <td><span class="parametername">baseline</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Bool.html">Bool</a></td>
      <td><span class="parametername">isVertical</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Bool.html">Bool</a></td>
      <td><span class="parametername">isSimulationAllowed</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.DirectWrite.ScriptAnalysis.html">ScriptAnalysis</a></td>
      <td><span class="parametername">scriptAnalysis</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">localeName</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">baselineCoordinate</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Util.DX.Bool.html">Bool</a></td>
      <td><span class="parametername">exists</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
