# GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext

## Content

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



  <h1 id="GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext" class="text-break">GraphXmlSerializationContext Class
</h1>
  <div class="markdown level0 summary"><p>Represents contextual information about a serialization, such as its DirectionType, document and other.</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"><span class="xref">GraphXmlSerializationContext</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Chart.html">GrapeCity.ActiveReports.Chart</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Chart.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class GraphXmlSerializationContext</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_Chart_GraphXmlSerializationContext__ctor_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_DirectionType_System_Xml_XmlDocument_System_Boolean_System_Boolean_" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.#ctor(GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.DirectionType,System.Xml.XmlDocument,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.-ctor.html#GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext__ctor_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_DirectionType_System_Xml_XmlDocument_System_Boolean_System_Boolean_">GraphXmlSerializationContext(DirectionType, XmlDocument, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the GraphXmlSerializationContext class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext__ctor_GrapeCity_ActiveReports_Chart_ISharpGraph_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_DirectionType_System_Xml_XmlDocument_System_Boolean_" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.#ctor(GrapeCity.ActiveReports.Chart.ISharpGraph,GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.DirectionType,System.Xml.XmlDocument,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.-ctor.html#GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext__ctor_GrapeCity_ActiveReports_Chart_ISharpGraph_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_DirectionType_System_Xml_XmlDocument_System_Boolean_">GraphXmlSerializationContext(ISharpGraph, DirectionType, XmlDocument, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the GraphXmlSerializationContext 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_Chart_GraphXmlSerializationContext_Direction" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.Direction">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.Direction.html#GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_Direction">Direction</a>
        </td>
        <td class="markdown level1 summary"><p>Direction to serialize - from xml or to xml</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_Doc" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.Doc">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.Doc.html#GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_Doc">Doc</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the XmlDocument.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_Fonts" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.Fonts">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.Fonts.html#GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_Fonts">Fonts</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the fonts collected during serialization, keyed by name, so that repeated font definitions can be
shared and referenced rather than duplicated in the produced XML. The dictionary is created on first access.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_IncludeData" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.IncludeData">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.IncludeData.html#GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_IncludeData">IncludeData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the flag determining if points will be included or not.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_RegisteredComponents" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.RegisteredComponents">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.RegisteredComponents.html#GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_RegisteredComponents">RegisteredComponents</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the registered components collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_StrictImport" data-uid="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.StrictImport">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.StrictImport.html#GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_StrictImport">StrictImport</a>
        </td>
        <td class="markdown level1 summary"><p>False by default. If true xml import process will stop once it finds an error and throw an exception.
If false it will mutually continue. Use &quot;strict&quot; attribute of root element &quot;SharpGraph&quot; in xml files
to control this behaviour.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
