# GrapeCity.ActiveReports.Chart.Projection.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Chart_Projection__ctor_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor*">Projection Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Chart_Projection__ctor_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_Projection__ctor" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor">Projection()</h4>
<div class="markdown level1 summary"><p>Initializes new instance of the Projection class with the default settings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Projection()</code></pre>
</div>


<a id="GrapeCity_ActiveReports_Chart_Projection__ctor_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_Projection__ctor_GrapeCity_ActiveReports_Chart_Graphics_ProjectionType_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType,System.Single,System.Single)">Projection(ProjectionType, float, float)</h4>
<div class="markdown level1 summary"><p>Initializes new instance of the Projection class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Projection(ProjectionType projectionType, float projectionDX, float projectionDY)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.html">ProjectionType</a></td>
      <td><span class="parametername">projectionType</span></td>
      <td><p>Specifies projection type</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">projectionDX</span></td>
      <td><p>For use for orthogonal projection only</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">projectionDY</span></td>
      <td><p>For use for orthogonal projection only</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_Projection__ctor_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_Projection__ctor_GrapeCity_ActiveReports_Chart_Graphics_ProjectionType_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType,System.Single,System.Single,System.Single,System.Single)">Projection(ProjectionType, float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Initializes new instance of the Projection class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Projection(ProjectionType projectionType, float projectionDX, float projectionDY, float horizontalRotation, float verticalRotation)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.html">ProjectionType</a></td>
      <td><span class="parametername">projectionType</span></td>
      <td><p>Specifies projection type</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">projectionDX</span></td>
      <td><p>For use for orthogonal projection only</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">projectionDY</span></td>
      <td><p>For use for orthogonal projection only</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">horizontalRotation</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">verticalRotation</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_Projection__ctor_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_Projection__ctor_GrapeCity_ActiveReports_Chart_Graphics_ProjectionType_System_Single_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor(GrapeCity.ActiveReports.Chart.Graphics.ProjectionType,System.Single,System.Single,System.Single,System.Single,System.Single)">Projection(ProjectionType, float, float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Initializes new instance of the Projection class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Projection(ProjectionType projectionType, float projectionDX, float projectionDY, float horizontalRotation, float verticalRotation, float perspectiveRatio)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.ProjectionType.html">ProjectionType</a></td>
      <td><span class="parametername">projectionType</span></td>
      <td><p>Specifies projection type</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">projectionDX</span></td>
      <td><p>For use for orthogonal projection only</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">projectionDY</span></td>
      <td><p>For use for orthogonal projection only</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">horizontalRotation</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">verticalRotation</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">perspectiveRatio</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_Projection__ctor_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_Projection__ctor_System_String_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor(System.String)">Projection(string)</h4>
<div class="markdown level1 summary"><p>For internal use only.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Projection(string xml)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">xml</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_Projection__ctor_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_Projection__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_" data-uid="GrapeCity.ActiveReports.Chart.Projection.#ctor(System.String,GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext)">Projection(string, GraphXmlSerializationContext)</h4>
<div class="markdown level1 summary"><p>For internal use only.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Projection(string xml, GraphXmlSerializationContext context)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">xml</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.html">GraphXmlSerializationContext</a></td>
      <td><span class="parametername">context</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
