# GrapeCity.ActiveReports.SectionReportModel.OleObject

## Content

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



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_OleObject" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject" class="text-break">OleObject Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for OleObject.</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="GrapeCity.ActiveReports.SectionReportModel.ARControl.html">ARControl</a></div>
    <div class="level2"><span class="xref">OleObject</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Controls.Design.IPersistControl.html">IPersistControl</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_OleObject_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[DefaultSize(1, 0.5)]
public sealed class OleObject : ARControl, IComponent, IDisposable, IPersistControl</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="GrapeCity_ActiveReports_SectionReportModel_OleObject__ctor" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_OleObject__ctor">OleObject()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.html">OleObject</a> class.</p>
</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="GrapeCity_ActiveReports_SectionReportModel_OleObject_BackColor" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.BackColor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.BackColor.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of the control area.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_CanEdit" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.CanEdit">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.CanEdit.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_CanEdit">CanEdit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this instance can edit.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_Class" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.Class">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.Class.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_Class">Class</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the class name of the Ole object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_ContentSize" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.ContentSize">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.ContentSize.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_ContentSize">ContentSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the size of the content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_ControlType" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.ControlType">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.ControlType.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_ControlType">ControlType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the control type identifier for this control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_DataValue" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.DataValue">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.DataValue.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_DataValue">DataValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_HyperLink" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.HyperLink">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.HyperLink.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_HyperLink">HyperLink</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a URL address that can be used in the viewer's HyperLink event to navigate to the specified location.
The URL is automatically converted into an anchor tag or a hyperlink in HTML and PDF exports.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_PictureAlignment" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.PictureAlignment">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.PictureAlignment.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_PictureAlignment">PictureAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of the object's content within the control area.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_SizeMode" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.SizeMode">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.SizeMode.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_SizeMode">SizeMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines how the image is sized to fit the OleObject control area.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_Value" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.Value">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.Value.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value.</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="GrapeCity_ActiveReports_SectionReportModel_OleObject_CreateEmbedded" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.CreateEmbedded">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.CreateEmbedded.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_CreateEmbedded">CreateEmbedded()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an Ole Object to embed in the control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_CreateFrom_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.CreateFrom(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.CreateFrom.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_CreateFrom_System_String_">CreateFrom(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an Ole Object to embed in the control from the specified file.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_Edit_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.Edit(System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.Edit.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_Edit_System_Object_">Edit(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Invokes the Ole server to edit the current embedded instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_GetControlBounds_System_Drawing_PointF_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.GetControlBounds(System.Drawing.PointF,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.GetControlBounds.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_GetControlBounds_System_Drawing_PointF_System_Single_System_Single_">GetControlBounds(PointF, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounding rectangle of this control for the specified page offset and vertical range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_QuickLoad_System_IO_BinaryReader_" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.QuickLoad(System.IO.BinaryReader)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.QuickLoad.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_QuickLoad_System_IO_BinaryReader_">QuickLoad(BinaryReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the control from specified binary reader.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_QuickSave_System_IO_BinaryWriter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.QuickSave(System.IO.BinaryWriter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.QuickSave.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_QuickSave_System_IO_BinaryWriter_">QuickSave(BinaryWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the control to the specified binary writer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_ReadXml_System_Xml_XmlNode_" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.ReadXml(System.Xml.XmlNode)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.ReadXml.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_ReadXml_System_Xml_XmlNode_">ReadXml(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads the control from specified XML node.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_OleObject_WriteXml_System_Xml_XmlElement_" data-uid="GrapeCity.ActiveReports.SectionReportModel.OleObject.WriteXml(System.Xml.XmlElement)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.OleObject.WriteXml.html#GrapeCity_ActiveReports_SectionReportModel_OleObject_WriteXml_System_Xml_XmlElement_">WriteXml(XmlElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the control as XML to specified XML node.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
