# GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.GetDefaultView

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_GetDefaultView_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.GetDefaultView*">GetDefaultView Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_GetDefaultView_" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.GetDefaultView*"></a>
<h4 id="GrapeCity_Documents_Pdf_Annotations_Model3DAnnotation_GetDefaultView" data-uid="GrapeCity.Documents.Pdf.Annotations.Model3DAnnotation.GetDefaultView">GetDefaultView()</h4>
<div class="markdown level1 summary"><p>Resolves and returns the default initial <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DView.html">Model3DView</a> for this annotation.</p>
<p>The PDF specification allows the default view to be specified in multiple places and
using different forms (for example, by name or by index). This method encapsulates the
logic to find and return the effective default view that should be used when the
annotation is activated.</p>
<p>Typical resolution behavior:</p>
<ul>
<li>Inspect annotation-level settings that explicitly identify a default view.</li>
<li>If not found, inspect the associated 3D stream(s) for a named or indexed default view.</li>
<li>If the default is specified by name, the view with a matching <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DView.Name.html#GrapeCity_Documents_Pdf_Annotations_Model3DView_Name">Name</a>
is returned.</li>
<li>If specified by index, the view at that index in the stream's view list
is returned.</li>
</ul>
<p>If no explicit default view is defined or the referenced view cannot be resolved,
the method returns <code>null</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Model3DView GetDefaultView()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetDefaultView() As Model3DView</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="GrapeCity.Documents.Pdf.Annotations.Model3DView.html">Model3DView</a></td>
      <td><p>The resolved <a class="xref" href="GrapeCity.Documents.Pdf.Annotations.Model3DView.html">Model3DView</a> to be used as the default initial view, or
<code>null</code> if no default view is defined or it cannot be resolved.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
