# GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Get3DContent

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Get3DContent_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Get3DContent*">Get3DContent Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Get3DContent_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Get3DContent*"></a>
<h4 id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Get3DContent_GrapeCity_Documents_Pdf_Spec_IPdfName__" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Get3DContent(GrapeCity.Documents.Pdf.Spec.IPdfName@)">Get3DContent(out IPdfName)</h4>
<div class="markdown level1 summary"><p>Retrieves the 3D stream content from this annotation and its format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Stream Get3DContent(out IPdfName format)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Get3DContent(ByRef format As IPdfName) As Stream</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.Documents.Pdf.Spec.IPdfName.html">IPdfName</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>When this method returns, contains the <a class="xref" href="GrapeCity.Documents.Pdf.Spec.IPdfName.html">IPdfName</a> object specifying
the format of the retrieved 3D data, or <code>null</code> if no 3D stream is present.
Use values from the <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DStreamFormat.html">Model3DStreamFormat</a> static class (e.g., <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DStreamFormat.U3D.html#GrapeCity_Documents_Pdf_Annotations_Model3DStreamFormat_U3D">U3D</a> or <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DStreamFormat.PRC.html#GrapeCity_Documents_Pdf_Annotations_Model3DStreamFormat_PRC">PRC</a>).</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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><p>A <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Stream.html#GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Stream">Stream</a> object containing the 3D model data, or <code>null</code> if no 3D stream is defined for this annotation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Get3DContent_GrapeCity_Documents_Pdf_Spec_IPdfName___remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The returned stream contains the raw 3D model data in the format specified by the <code class="paramref">format</code> parameter.
The caller is responsible for properly disposing the stream if necessary.</p>
</div>


<a id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Get3DContent_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Get3DContent*"></a>
<h4 id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Get3DContent" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Get3DContent">Get3DContent()</h4>
<div class="markdown level1 summary"><p>Retrieves the 3D stream content from this annotation without format information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Stream Get3DContent()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Get3DContent() As Stream</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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><p>A <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Stream.html#GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Stream">Stream</a> object containing the 3D model data, or <code>null</code> if no 3D stream is defined for this annotation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Get3DContent_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This method is a convenience overload that retrieves the 3D content without requiring
the caller to handle the format parameter. If format information is needed, use
<a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.Get3DContent.html#GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_Get3DContent_GrapeCity_Documents_Pdf_Spec_IPdfName__">Get3DContent(out IPdfName)</a> instead.</p>
</div>
</div>
