# C1.Util.DX.DXGI.SwapChain1.GetRotation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_DXGI_SwapChain1_GetRotation_" data-uid="C1.Util.DX.DXGI.SwapChain1.GetRotation*">GetRotation Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_DXGI_SwapChain1_GetRotation_" data-uid="C1.Util.DX.DXGI.SwapChain1.GetRotation*"></a>
<h4 id="C1_Util_DX_DXGI_SwapChain1_GetRotation" data-uid="C1.Util.DX.DXGI.SwapChain1.GetRotation">GetRotation()</h4>
<div class="markdown level1 summary"><p>HRESULT IDXGISwapChain1::GetRotation([Out] DXGI_MODE_ROTATION* pRotation)</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DisplayModeRotation GetRotation()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetRotation() As DisplayModeRotation</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="C1.Util.DX.DXGI.DisplayModeRotation.html">DisplayModeRotation</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
