# C1.Util.DX.Direct2D.TransformGraph.RemoveNode

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_TransformGraph_RemoveNode_" data-uid="C1.Util.DX.Direct2D.TransformGraph.RemoveNode*">RemoveNode Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_TransformGraph_RemoveNode_" data-uid="C1.Util.DX.Direct2D.TransformGraph.RemoveNode*"></a>
<h4 id="C1_Util_DX_Direct2D_TransformGraph_RemoveNode_C1_Util_DX_Direct2D_TransformNode_" data-uid="C1.Util.DX.Direct2D.TransformGraph.RemoveNode(C1.Util.DX.Direct2D.TransformNode)">RemoveNode(TransformNode)</h4>
<div class="markdown level1 summary"><p>Removes the provided node from the transform graph.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void RemoveNode(TransformNode node)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub RemoveNode(node As TransformNode)</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="C1.Util.DX.Direct2D.TransformNode.html">TransformNode</a></td>
      <td><span class="parametername">node</span></td>
      <td><p>The node that will be removed from the transform graph.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Util_DX_Direct2D_TransformGraph_RemoveNode_C1_Util_DX_Direct2D_TransformNode__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The node must already exist in the graph; otherwise, the call fails with D2DERR_NOT_FOUND.Any connections to this node will be removed when the node is removed.After the node is removed, it cannot be used by the interface until it has been added to the graph by AddNode.</p>
</div>
</div>
