# C1.Report.Field.Text

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_Field_Text_" data-uid="C1.Report.Field.Text*">Text Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_Field_Text_" data-uid="C1.Report.Field.Text*"></a>
<h4 id="C1_Report_Field_Text" data-uid="C1.Report.Field.Text">Text</h4>
<div class="markdown level1 summary"><p>Gets or sets the field's text.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Data&quot;)]
[C1Description(&quot;Field.Text&quot;, &quot;Specifies the field&#39;s text.&quot;)]
public string Text { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Data&quot;)&gt;
&lt;C1Description(&quot;Field.Text&quot;, &quot;Specifies the field&#39;s text.&quot;)&gt;
Public Property Text As String</code></pre>
</div>
<h5 id="C1_Report_Field_Text_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <a class="xref" href="C1.Report.Field.Text.html#C1_Report_Field_Text">Text</a> property contains the text that will be rendered on the report.</p>
<p>This value may be rendered literally (without any translation) or it may be evaluated as a 
<b>VBScript</b> expression, depending on the setting of the <a class="xref" href="C1.Report.Field.Calculated.html#C1_Report_Field_Calculated">Calculated</a> property.</p>
</div>
<h5 id="C1_Report_Field_Text_examples">Examples</h5>
<p>The code below creates two fields. One displays the label &quot;Sales Tax&quot;, the other displays the
tax value by multiplying a database field (&quot;Sales&quot;) by a constant.</p>
<pre><code class="lang-csharp">// display literal Text
_c1r.Field[0].Text = "Sales Tax";
_c1r.Field[0].Calculated = false; 

// display a calculated value
_c1r.Field[1].Text = "Sales * 0.085";
_c1r.Field[1].Calculated = true;</code></pre>

</div>
