# GrapeCity.ActiveReports.Rendering.GraphicalRenderers.IPatchableCanvas.ApplyPatchToString

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Rendering_GraphicalRenderers_IPatchableCanvas_ApplyPatchToString_" data-uid="GrapeCity.ActiveReports.Rendering.GraphicalRenderers.IPatchableCanvas.ApplyPatchToString*">ApplyPatchToString Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_GraphicalRenderers_IPatchableCanvas_ApplyPatchToString_" data-uid="GrapeCity.ActiveReports.Rendering.GraphicalRenderers.IPatchableCanvas.ApplyPatchToString*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_GraphicalRenderers_IPatchableCanvas_ApplyPatchToString_GrapeCity_ActiveReports_Rendering_GraphicalRenderers_PatchTargetId_GrapeCity_ActiveReports_Drawing_Serialization_StringPatch_" data-uid="GrapeCity.ActiveReports.Rendering.GraphicalRenderers.IPatchableCanvas.ApplyPatchToString(GrapeCity.ActiveReports.Rendering.GraphicalRenderers.PatchTargetId,GrapeCity.ActiveReports.Drawing.Serialization.StringPatch)">ApplyPatchToString(PatchTargetId, StringPatch)</h4>
<div class="markdown level1 summary"><p>Apply patch to the text which was previously drawn using the <a class="xref" href="GrapeCity.ActiveReports.Rendering.GraphicalRenderers.IPatchableCanvas.DrawPatchableString.html#GrapeCity_ActiveReports_Rendering_GraphicalRenderers_IPatchableCanvas_DrawPatchableString_GrapeCity_ActiveReports_Rendering_GraphicalRenderers_PatchTargetId_System_String_GrapeCity_ActiveReports_Drawing_FontInfo_GrapeCity_ActiveReports_Drawing_BrushEx_System_Drawing_RectangleF_GrapeCity_ActiveReports_Drawing_StringFormatEx_">DrawPatchableString(PatchTargetId, string, FontInfo, BrushEx, RectangleF, StringFormatEx)</a> method.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void ApplyPatchToString(PatchTargetId id, StringPatch patch)</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.ActiveReports.Rendering.GraphicalRenderers.PatchTargetId.html">PatchTargetId</a></td>
      <td><span class="parametername">id</span></td>
      <td><p>The text identifier to be updated.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Drawing.Serialization.StringPatch.html">StringPatch</a></td>
      <td><span class="parametername">patch</span></td>
      <td><p>The patch to be applied to the text.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
