# GrapeCity.Documents.Word.Camera

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Camera" data-uid="GrapeCity.Documents.Word.Camera" class="text-break">Camera Class
</h1>
  <div class="markdown level0 summary"><p>Represents the placement and properties of a camera in a 3D scene.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Word.FormattingBag.html">FormattingBag</a></div>
    <div class="level2"><span class="xref">Camera</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Camera_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Camera : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Camera
    Inherits FormattingBag</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Camera_Perspective" data-uid="GrapeCity.Documents.Word.Camera.Perspective">
          <a class="xref" href="GrapeCity.Documents.Word.Camera.Perspective.html#GrapeCity_Documents_Word_Camera_Perspective">Perspective</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the field of view for the camera.</p>
<p>Allowed values are from <b>-0</b> to <b>120</b>, inclusive.</p>
<p>Default value is <b>0</b>.</p> 
<p>Note that this property cannot be applied for text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Camera_Preset" data-uid="GrapeCity.Documents.Word.Camera.Preset">
          <a class="xref" href="GrapeCity.Documents.Word.Camera.Preset.html#GrapeCity_Documents_Word_Camera_Preset">Preset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the preset camera that defines the starting point for common preset rotations in space.</p>
<p>Default value is <a class="xref" href="GrapeCity.Documents.Word.CameraPreset.html#GrapeCity_Documents_Word_CameraPreset_OrthographicFront">OrthographicFront</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Camera_Rotation" data-uid="GrapeCity.Documents.Word.Camera.Rotation">
          <a class="xref" href="GrapeCity.Documents.Word.Camera.Rotation.html#GrapeCity_Documents_Word_Camera_Rotation">Rotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the camera rotation.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Camera_Zoom" data-uid="GrapeCity.Documents.Word.Camera.Zoom">
          <a class="xref" href="GrapeCity.Documents.Word.Camera.Zoom.html#GrapeCity_Documents_Word_Camera_Zoom">Zoom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the zoom factor of a given camera.</p>
<p>Value must be greater than <b>0</b>.</p>
<p>Default value is <b>100</b>.</p> 
<p>Note that this property cannot be applied for text.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Camera_FixInheritedValues" data-uid="GrapeCity.Documents.Word.Camera.FixInheritedValues">
          <a class="xref" href="GrapeCity.Documents.Word.Camera.FixInheritedValues.html#GrapeCity_Documents_Word_Camera_FixInheritedValues">FixInheritedValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Fixes all inherited values as &quot;direct&quot; values for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Camera_Reset" data-uid="GrapeCity.Documents.Word.Camera.Reset">
          <a class="xref" href="GrapeCity.Documents.Word.Camera.Reset.html#GrapeCity_Documents_Word_Camera_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the camera to inherited defaults.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
