# GrapeCity.SpreadBuilder.Imaging.LineInfo.Weight

## Content

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




<h1 id="GrapeCity_SpreadBuilder_Imaging_LineInfo_Weight" data-uid="GrapeCity.SpreadBuilder.Imaging.LineInfo.Weight" class="text-break">Weight Field
</h1>
<div class="markdown level0 summary"><p>Gets or sets the weight of the line, corresponding to Excel's enumerated line weight values.</p>
</div>
<div class="markdown level0 conceptual"></div>
<h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.SpreadBuilder.Imaging.html">GrapeCity.SpreadBuilder.Imaging</a></h6>
<h6><strong>Assembly</strong>: MESCIUS.ActiveReports.SpreadBuilder.dll</h6>
<h5 id="GrapeCity_SpreadBuilder_Imaging_LineInfo_Weight_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Weight</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td>Gets or sets the weight of the line, corresponding to Excel's enumerated line weight values.</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_SpreadBuilder_Imaging_LineInfo_Weight_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p>This property affects the appearance of lines in the Microsoft Excel 97 file format (BIFF8) by setting the line weight in points.
The effect varies by version:</p>
<ul><li>Version 2 does not support lines.</li><li>Versions 3, 4, 5, and 7 support this feature.</li><li>In BIFF8, the line weight is determined by this property as follows:</li></ul>
</div>
</div>
