# GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetMatrix3D

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Pdf_Spec_IPdfDictExt_SetMatrix3D_" data-uid="GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetMatrix3D*">SetMatrix3D Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Pdf_Spec_IPdfDictExt_SetMatrix3D_" data-uid="GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetMatrix3D*"></a>
<h4 id="GrapeCity_Documents_Pdf_Spec_IPdfDictExt_SetMatrix3D_GrapeCity_Documents_Pdf_Spec_IPdfDict_GrapeCity_Documents_Pdf_Spec_PdfName_System_Nullable_GrapeCity_Documents_Pdf_Util_Matrix3D__System_Nullable_GrapeCity_Documents_Pdf_Util_Matrix3D__" data-uid="GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetMatrix3D(GrapeCity.Documents.Pdf.Spec.IPdfDict,GrapeCity.Documents.Pdf.Spec.PdfName,System.Nullable{GrapeCity.Documents.Pdf.Util.Matrix3D},System.Nullable{GrapeCity.Documents.Pdf.Util.Matrix3D})">SetMatrix3D(IPdfDict, PdfName, Matrix3D?, Matrix3D?)</h4>
<div class="markdown level1 summary"><p>Sets the <a class="xref" href="GrapeCity.Documents.Pdf.Util.Matrix3D.html">Matrix3D</a> value associated with the specified key.
If the value is null or is equal to <code class="paramref">defValue</code>,
removes the key from the dictionary.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void SetMatrix3D(this IPdfDict dict, PdfName key, Matrix3D? value, Matrix3D? defValue)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub SetMatrix3D(dict As IPdfDict, key As PdfName, value As Matrix3D?, defValue As Matrix3D?)</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.Pdf.Spec.IPdfDict.html">IPdfDict</a></td>
      <td><span class="parametername">dict</span></td>
      <td><p>The current dictionary.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Pdf.Spec.PdfName.html">PdfName</a></td>
      <td><span class="parametername">key</span></td>
      <td><p>The key identifying the value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Pdf.Util.Matrix3D.html">Matrix3D</a>?</td>
      <td><span class="parametername">value</span></td>
      <td><p>The value to set.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Pdf.Util.Matrix3D.html">Matrix3D</a>?</td>
      <td><span class="parametername">defValue</span></td>
      <td><p>The default value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
