# C1.Report.VisualReportObject

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_VisualReportObject" data-uid="C1.Report.VisualReportObject" class="text-break">VisualReportObject Class
</h1>
  <div class="markdown level0 summary"><p>Base class for all visual report objects like <a class="xref" href="C1.Report.FieldBase.html">FieldBase</a>, <a class="xref" href="C1.Report.Section.html">Section</a>, <a class="xref" href="C1.Report.SubSection.html">SubSection</a>.
Defines common visual properties: Border, Background etc.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Report.ReportObject.html">ReportObject</a></div>
    <div class="level2"><span class="xref">VisualReportObject</span></div>
      <div class="level3"><a class="xref" href="C1.Report.FieldBase.html">FieldBase</a></div>
      <div class="level3"><a class="xref" href="C1.Report.Section.html">Section</a></div>
      <div class="level3"><a class="xref" href="C1.Report.SubSection.html">SubSection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Report.IScriptContextProvider.html">IScriptContextProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_VisualReportObject_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class VisualReportObject : ReportObject, IScriptContextProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class VisualReportObject
    Inherits ReportObject
    Implements IScriptContextProvider</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_VisualReportObject__ctor" data-uid="C1.Report.VisualReportObject.#ctor">
          <a class="xref" href="C1.Report.VisualReportObject.-ctor.html#C1_Report_VisualReportObject__ctor">VisualReportObject()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Report.VisualReportObject.html">VisualReportObject</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_VisualReportObject_m_StyleCache" data-uid="C1.Report.VisualReportObject.m_StyleCache">
          <a class="xref" href="C1.Report.VisualReportObject.m_StyleCache.html">m_StyleCache</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_VisualReportObject_BackColor" data-uid="C1.Report.VisualReportObject.BackColor">
          <a class="xref" href="C1.Report.VisualReportObject.BackColor.html#C1_Report_VisualReportObject_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the field's background color,
this property works via <a class="xref" href="C1.Report.VisualReportObject.Background.html#C1_Report_VisualReportObject_Background">Background</a> property using <a class="xref" href="../C1.Document/C1.Document.C1SolidBrush.html">C1SolidBrush</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_Background" data-uid="C1.Report.VisualReportObject.Background">
          <a class="xref" href="C1.Report.VisualReportObject.Background.html#C1_Report_VisualReportObject_Background">Background</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="../C1.Document/C1.Document.C1Brush.html">C1Brush</a> object determining the object's background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_Bookmark" data-uid="C1.Report.VisualReportObject.Bookmark">
          <a class="xref" href="C1.Report.VisualReportObject.Bookmark.html#C1_Report_VisualReportObject_Bookmark">Bookmark</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.Report.ScriptStringValue.html">ScriptStringValue</a> yielding the bookmark associated with the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_Border" data-uid="C1.Report.VisualReportObject.Border">
          <a class="xref" href="C1.Report.VisualReportObject.Border.html#C1_Report_VisualReportObject_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Report.VisualReportObject.Border.html#C1_Report_VisualReportObject_Border">Border</a> object determining how borders are drawn around the object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_BordersSplitHorzMode" data-uid="C1.Report.VisualReportObject.BordersSplitHorzMode">
          <a class="xref" href="C1.Report.VisualReportObject.BordersSplitHorzMode.html#C1_Report_VisualReportObject_BordersSplitHorzMode">BordersSplitHorzMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value determining how borders are drawn
if the object is too wide and is split between horizontal pages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_BordersSplitVertMode" data-uid="C1.Report.VisualReportObject.BordersSplitVertMode">
          <a class="xref" href="C1.Report.VisualReportObject.BordersSplitVertMode.html#C1_Report_VisualReportObject_BordersSplitVertMode">BordersSplitVertMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value determining how borders are drawn
if the object is too high and is split between pages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_OutlineLabel" data-uid="C1.Report.VisualReportObject.OutlineLabel">
          <a class="xref" href="C1.Report.VisualReportObject.OutlineLabel.html#C1_Report_VisualReportObject_OutlineLabel">OutlineLabel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.Report.ScriptStringValue.html">ScriptStringValue</a> yielding the label associated with the object in the outline tree.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_OutlineParent" data-uid="C1.Report.VisualReportObject.OutlineParent">
          <a class="xref" href="C1.Report.VisualReportObject.OutlineParent.html#C1_Report_VisualReportObject_OutlineParent">OutlineParent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the object that will be the parent of the current object in the outline tree.
If unspecified, the report hierarchy will be used to determine the parent.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_VisualReportObject_AfterRender" data-uid="C1.Report.VisualReportObject.AfterRender">
          <a class="xref" href="C1.Report.VisualReportObject.AfterRender.html#C1_Report_VisualReportObject_AfterRender">AfterRender()</a>
        </td>
        <td class="markdown level1 summary"><p>Called where report rendering finish.
Can be used to finalize object after rendering.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_AssignFrom_C1_Report_ReportObject_System_Boolean_" data-uid="C1.Report.VisualReportObject.AssignFrom(C1.Report.ReportObject,System.Boolean)">
          <a class="xref" href="C1.Report.VisualReportObject.AssignFrom.html#C1_Report_VisualReportObject_AssignFrom_C1_Report_ReportObject_System_Boolean_">AssignFrom(ReportObject, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies properties from another object into this object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_BeforeRender" data-uid="C1.Report.VisualReportObject.BeforeRender">
          <a class="xref" href="C1.Report.VisualReportObject.BeforeRender.html#C1_Report_VisualReportObject_BeforeRender">BeforeRender()</a>
        </td>
        <td class="markdown level1 summary"><p>Called where report rendering starts.
Can be used to initialize object before rendering.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_VisualReportObject_ResetStyle" data-uid="C1.Report.VisualReportObject.ResetStyle">
          <a class="xref" href="C1.Report.VisualReportObject.ResetStyle.html#C1_Report_VisualReportObject_ResetStyle">ResetStyle()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
