# GrapeCity.Documents.Imaging.Windows.GcWicTiffWriter.NewFrame

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_Windows_GcWicTiffWriter_NewFrame_" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicTiffWriter.NewFrame*">NewFrame Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_Windows_GcWicTiffWriter_NewFrame_" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicTiffWriter.NewFrame*"></a>
<h4 id="GrapeCity_Documents_Imaging_Windows_GcWicTiffWriter_NewFrame" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicTiffWriter.NewFrame">NewFrame()</h4>
<div class="markdown level1 summary"><p>Saves the previous frame to the output stream and creates a new frame with default width and height.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GcWicBitmap NewFrame()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function NewFrame() As GcWicBitmap</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.Imaging.Windows.GcWicBitmap.html">GcWicBitmap</a></td>
      <td><p>The new frame.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_Windows_GcWicTiffWriter_NewFrame_" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicTiffWriter.NewFrame*"></a>
<h4 id="GrapeCity_Documents_Imaging_Windows_GcWicTiffWriter_NewFrame_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.Windows.GcWicTiffWriter.NewFrame(System.Single,System.Single)">NewFrame(float, float)</h4>
<div class="markdown level1 summary"><p>Saves the previous frame to the output stream and creates a new frame with specified width and height.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public GcWicBitmap NewFrame(float width, float height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function NewFrame(width As Single, height As Single) As GcWicBitmap</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.single">float</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the new frame, in DIPs.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the new frame, in DIPs.</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.Imaging.Windows.GcWicBitmap.html">GcWicBitmap</a></td>
      <td><p>The new frame.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
