# C1.Framework.Drawing.Gdi.FontBuilder.Weight

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_FontBuilder_Weight_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Weight*">Weight Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_FontBuilder_Weight_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Weight*"></a>
<h4 id="C1_Framework_Drawing_Gdi_FontBuilder_Weight" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Weight">Weight</h4>
<div class="markdown level1 summary"><p>Get or set the weight of the font.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Weight { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Weight As Integer</code></pre>
</div>
<h5 class="propertyValue">Property Value</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><p>An <b>int</b> indicate the weight of font, which is in the range 0 through 1000.
For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
