# GrapeCity.ActiveReports.ReportsCore.Tools.ReportCombiner.SetMargin

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_ReportsCore_Tools_ReportCombiner_SetMargin_" data-uid="GrapeCity.ActiveReports.ReportsCore.Tools.ReportCombiner.SetMargin*">SetMargin Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_ReportsCore_Tools_ReportCombiner_SetMargin_" data-uid="GrapeCity.ActiveReports.ReportsCore.Tools.ReportCombiner.SetMargin*"></a>
<h4 id="GrapeCity_ActiveReports_ReportsCore_Tools_ReportCombiner_SetMargin_GrapeCity_ActiveReports_PageReportModel_Length_GrapeCity_ActiveReports_PageReportModel_Length_GrapeCity_ActiveReports_PageReportModel_Length_GrapeCity_ActiveReports_PageReportModel_Length_" data-uid="GrapeCity.ActiveReports.ReportsCore.Tools.ReportCombiner.SetMargin(GrapeCity.ActiveReports.PageReportModel.Length,GrapeCity.ActiveReports.PageReportModel.Length,GrapeCity.ActiveReports.PageReportModel.Length,GrapeCity.ActiveReports.PageReportModel.Length)">SetMargin(Length, Length, Length, Length)</h4>
<div class="markdown level1 summary"><p>Sets the margins of the report.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetMargin(Length top, Length right, Length bottom, Length left)</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="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>Top margin</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>Right Margin</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>Bottom Margin</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>Left Margin</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_ReportsCore_Tools_ReportCombiner_SetMargin_" data-uid="GrapeCity.ActiveReports.ReportsCore.Tools.ReportCombiner.SetMargin*"></a>
<h4 id="GrapeCity_ActiveReports_ReportsCore_Tools_ReportCombiner_SetMargin_GrapeCity_ActiveReports_PageReportModel_Length_GrapeCity_ActiveReports_PageReportModel_Length_" data-uid="GrapeCity.ActiveReports.ReportsCore.Tools.ReportCombiner.SetMargin(GrapeCity.ActiveReports.PageReportModel.Length,GrapeCity.ActiveReports.PageReportModel.Length)">SetMargin(Length, Length)</h4>
<div class="markdown level1 summary"><p>Sets the margins of the report.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetMargin(Length topAndBottom, Length rightAndLeft)</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="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a></td>
      <td><span class="parametername">topAndBottom</span></td>
      <td><p>Top and bottom margins</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a></td>
      <td><span class="parametername">rightAndLeft</span></td>
      <td><p>Right and left margins</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_ReportsCore_Tools_ReportCombiner_SetMargin_" data-uid="GrapeCity.ActiveReports.ReportsCore.Tools.ReportCombiner.SetMargin*"></a>
<h4 id="GrapeCity_ActiveReports_ReportsCore_Tools_ReportCombiner_SetMargin_GrapeCity_ActiveReports_PageReportModel_Length_" data-uid="GrapeCity.ActiveReports.ReportsCore.Tools.ReportCombiner.SetMargin(GrapeCity.ActiveReports.PageReportModel.Length)">SetMargin(Length)</h4>
<div class="markdown level1 summary"><p>Sets the margins of the report to the specified value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetMargin(Length all)</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="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Length.html">Length</a></td>
      <td><span class="parametername">all</span></td>
      <td><p>Margin length</p>
</td>
    </tr>
  </tbody>
</table>
</div>
