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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Pdf_Annotations_Model3DStream__ctor_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DStream.#ctor*">Model3DStream Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Pdf_Annotations_Model3DStream__ctor_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DStream.#ctor*"></a>
<h4 id="GrapeCity_Documents_Pdf_Annotations_Model3DStream__ctor_System_IO_Stream_GrapeCity_Documents_Pdf_Spec_IPdfName_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DStream.#ctor(System.IO.Stream,GrapeCity.Documents.Pdf.Spec.IPdfName)">Model3DStream(Stream, IPdfName)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.html">Model3DAnnotation</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 Model3DStream(Stream stream, IPdfName format)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(stream As Stream, format As IPdfName)</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.io.stream">Stream</a></td>
      <td><span class="parametername">stream</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.stream">Stream</a> object containing 3D data.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Pdf.Spec.IPdfName.html">IPdfName</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Pdf.Spec.IPdfName.html">IPdfName</a> object defining the format of 3D data,
the <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DStreamFormat.html">Model3DStreamFormat</a> static class defines the valid values.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
