# GrapeCity.Documents.Pdf.Annotations.Model3DView.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Pdf_Annotations_Model3DView__ctor_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DView.#ctor*">Model3DView Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Pdf_Annotations_Model3DView__ctor_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DView.#ctor*"></a>
<h4 id="GrapeCity_Documents_Pdf_Annotations_Model3DView__ctor" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DView.#ctor">Model3DView()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DStream.html">Model3DStream</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Model3DView()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="GrapeCity_Documents_Pdf_Annotations_Model3DView__ctor_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DView.#ctor*"></a>
<h4 id="GrapeCity_Documents_Pdf_Annotations_Model3DView__ctor_System_String_GrapeCity_Documents_Pdf_Util_Matrix3D__System_Nullable_System_Single__" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DView.#ctor(System.String,GrapeCity.Documents.Pdf.Util.Matrix3D@,System.Nullable{System.Single})">Model3DView(string, in Matrix3D, float?)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DStream.html">Model3DStream</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Model3DView(string uiName, in Matrix3D cameraPosition, float? cameraDistance = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(uiName As String, ByRef cameraPosition As Matrix3D, Optional cameraDistance As Single? = Nothing)</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">uiName</span></td>
      <td><p>The value of <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DView.UIName.html#GrapeCity_Documents_Pdf_Annotations_Model3DView_UIName">UIName</a> property.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Pdf.Util.Matrix3D.html">Matrix3D</a></td>
      <td><span class="parametername">cameraPosition</span></td>
      <td><p>The transformation matrix that specifies a position and orientation of the camera in world coordinates.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>?</td>
      <td><span class="parametername">cameraDistance</span></td>
      <td><p>The camera distance.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
