# C1.C1Preview.RenderObject.Width

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderObject_Width_" data-uid="C1.C1Preview.RenderObject.Width*">Width Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderObject_Width_" data-uid="C1.C1Preview.RenderObject.Width*"></a>
<h4 id="C1_C1Preview_RenderObject_Width" data-uid="C1.C1Preview.RenderObject.Width">Width</h4>
<div class="markdown level1 summary"><p>Gets or sets the width of the current object.</p>
<p>
May be specified as auto (<a class="xref" href="C1.C1Preview.Unit.Auto.html#C1_C1Preview_Unit_Auto">Auto</a>),
a percentage of the parent's width (e.g. "50%"),
an absolute value (using <a class="xref" href="C1.C1Preview.C1PrintDocument.DefaultUnit.html#C1_C1Preview_C1PrintDocument_DefaultUnit">DefaultUnit</a>),
an absolute value with unit of measurement (e.g. "12mm"),
or an expression referencing this and other objects (e.g. "Max(prev.width,6cm)").
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Unit Width { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Width As Unit</code></pre>
</div>
</div>
