# GrapeCity.Documents.Text.FontWriter.WholeCffToArray

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Text_FontWriter_WholeCffToArray_" data-uid="GrapeCity.Documents.Text.FontWriter.WholeCffToArray*">WholeCffToArray Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Text_FontWriter_WholeCffToArray_" data-uid="GrapeCity.Documents.Text.FontWriter.WholeCffToArray*"></a>
<h4 id="GrapeCity_Documents_Text_FontWriter_WholeCffToArray_GrapeCity_Documents_Text_CffTable_" data-uid="GrapeCity.Documents.Text.FontWriter.WholeCffToArray(GrapeCity.Documents.Text.CffTable)">WholeCffToArray(CffTable)</h4>
<div class="markdown level1 summary"><p>Writes the CFF table to a byte array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public byte[] WholeCffToArray(CffTable cff)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function WholeCffToArray(cff As CffTable) As Byte()</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.Text.CffTable.html">CffTable</a></td>
      <td><span class="parametername">cff</span></td>
      <td><p>The CFF table object.</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.byte">byte</a>[]</td>
      <td><p>Binary data with the resulting CFF font table.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Text_FontWriter_WholeCffToArray_" data-uid="GrapeCity.Documents.Text.FontWriter.WholeCffToArray*"></a>
<h4 id="GrapeCity_Documents_Text_FontWriter_WholeCffToArray_GrapeCity_Documents_Text_Font_" data-uid="GrapeCity.Documents.Text.FontWriter.WholeCffToArray(GrapeCity.Documents.Text.Font)">WholeCffToArray(Font)</h4>
<div class="markdown level1 summary"><p>Writes the whole CFF font table (not subset) to a byte array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public byte[] WholeCffToArray(Font font)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function WholeCffToArray(font As Font) As Byte()</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.Text.Font.html">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The Font object with PostScript outlines stored in the CFF format.</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.byte">byte</a>[]</td>
      <td><p>Binary data with the resulting CFF font table.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
