# GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture*">AddCameraPicture Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture*"></a>
<h4 id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_System_String_System_Double_System_Double_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture(System.String,System.Double,System.Double)">AddCameraPicture(string, double, double)</h4>
<div class="markdown level1 summary"><p>Creates a picture from reference range.Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a> object that represents the new picture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShape AddCameraPicture(string reference, double left, double top)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function AddCameraPicture(reference As String, left As Double, top As Double) As IShape</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">reference</span></td>
      <td><p>The range of the picture generated from.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>The position (in points) of the upper-left corner of the picture relative to the top of the document.</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="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a>The object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture*"></a>
<h4 id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_System_String_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture(System.String,System.Double,System.Double,System.Double,System.Double)">AddCameraPicture(string, double, double, double, double)</h4>
<div class="markdown level1 summary"><p>Creates a picture from reference range.Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a> object that represents the new picture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShape AddCameraPicture(string reference, double left, double top, double width, double height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function AddCameraPicture(reference As String, left As Double, top As Double, width As Double, height As Double) As IShape</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">reference</span></td>
      <td><p>The range of the picture generated from.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>The position (in points) of the upper-left corner of the picture relative to the top of the document.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width and height of the AutoShape's boundary box, in points.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The width and height of the AutoShape's boundary box, in points.</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="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a>The object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture*"></a>
<h4 id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_System_String_GrapeCity_Documents_Excel_IRange_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture(System.String,GrapeCity.Documents.Excel.IRange)">AddCameraPicture(string, IRange)</h4>
<div class="markdown level1 summary"><p>Creates a picture from reference range to the target range on the current sheet.
<br>The sheet of targetRange and the sheet of the shape being added must be the same sheet.
<br>Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a> object that represents the new picture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShape AddCameraPicture(string reference, IRange targetRange)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function AddCameraPicture(reference As String, targetRange As IRange) As IShape</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">reference</span></td>
      <td><p>The range of the picture generated from.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Excel.IRange.html">IRange</a></td>
      <td><span class="parametername">targetRange</span></td>
      <td><p>The target range of the current sheet.</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="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a>The object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture*"></a>
<h4 id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_System_String_System_String_System_Double_System_Double_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture(System.String,System.String,System.Double,System.Double)">AddCameraPicture(string, string, double, double)</h4>
<div class="markdown level1 summary"><p>Creates a picture from reference range.Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a> object that represents the new picture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShape AddCameraPicture(string reference, string name, double left, double top)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function AddCameraPicture(reference As String, name As String, left As Double, top As Double) As IShape</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">reference</span></td>
      <td><p>The range of the picture generated from.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The picture name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>The position (in points) of the upper-left corner of the picture relative to the top of the document.</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="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a>The object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture*"></a>
<h4 id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_System_String_System_String_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture(System.String,System.String,System.Double,System.Double,System.Double,System.Double)">AddCameraPicture(string, string, double, double, double, double)</h4>
<div class="markdown level1 summary"><p>Creates a picture from reference range.Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a> object that represents the new picture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShape AddCameraPicture(string reference, string name, double left, double top, double width, double height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function AddCameraPicture(reference As String, name As String, left As Double, top As Double, width As Double, height As Double) As IShape</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">reference</span></td>
      <td><p>The range of the picture generated from.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The picture name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>The position (in points) of the upper-left corner of the picture relative to the upper-left corner of the document.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>The position (in points) of the upper-left corner of the picture relative to the top of the document.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width and height of the AutoShape's boundary box, in points.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The width and height of the AutoShape's boundary box, in points.</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="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a>The object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture*"></a>
<h4 id="GrapeCity_Documents_Excel_Drawing_IShapes_AddCameraPicture_System_String_System_String_GrapeCity_Documents_Excel_IRange_" data-uid="GrapeCity.Documents.Excel.Drawing.IShapes.AddCameraPicture(System.String,System.String,GrapeCity.Documents.Excel.IRange)">AddCameraPicture(string, string, IRange)</h4>
<div class="markdown level1 summary"><p>Creates a picture from reference range to the specified range on the current sheet.
<br>The sheet of targetRange and the sheet of the shape being added must be the same sheet.
<br>Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a> object that represents the new picture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">IShape AddCameraPicture(string reference, string name, IRange targetRange)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function AddCameraPicture(reference As String, name As String, targetRange As IRange) As IShape</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">reference</span></td>
      <td><p>The range of the picture generated from.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The picture name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Excel.IRange.html">IRange</a></td>
      <td><span class="parametername">targetRange</span></td>
      <td><p>The target range of the current sheet.</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="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a></td>
      <td><p>The <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a>The object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
