# C1.C1Preview.C1PageSettings.GetCurrentLocaleDefaultPaperSize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PageSettings_GetCurrentLocaleDefaultPaperSize_" data-uid="C1.C1Preview.C1PageSettings.GetCurrentLocaleDefaultPaperSize*">GetCurrentLocaleDefaultPaperSize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PageSettings_GetCurrentLocaleDefaultPaperSize_" data-uid="C1.C1Preview.C1PageSettings.GetCurrentLocaleDefaultPaperSize*"></a>
<h4 id="C1_C1Preview_C1PageSettings_GetCurrentLocaleDefaultPaperSize_System_Double__System_Double__System_Double__C1_C1Preview_UnitTypeEnum__" data-uid="C1.C1Preview.C1PageSettings.GetCurrentLocaleDefaultPaperSize(System.Double@,System.Double@,System.Double@,C1.C1Preview.UnitTypeEnum@)">GetCurrentLocaleDefaultPaperSize(out double, out double, out double, out UnitTypeEnum)</h4>
<div class="markdown level1 summary"><p>Retrieves the locale-specific default paper size for the current locale.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void GetCurrentLocaleDefaultPaperSize(out double width, out double height, out double margin, out UnitTypeEnum units)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub GetCurrentLocaleDefaultPaperSize(ByRef width As Double, ByRef height As Double, ByRef margin As Double, ByRef units As UnitTypeEnum)</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.double">double</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>OUT: The width of the default paper.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>OUT: The height of the default paper.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">margin</span></td>
      <td><p>OUT: The width of default margins.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.UnitTypeEnum.html">UnitTypeEnum</a></td>
      <td><span class="parametername">units</span></td>
      <td><p>OUT: Unit of measurement used to express the sizes (width, height and margin).</p>
</td>
    </tr>
  </tbody>
</table>
</div>
