# C1.C1Pdf.C1PdfDocumentBase.Write

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Pdf_C1PdfDocumentBase_Write_" data-uid="C1.C1Pdf.C1PdfDocumentBase.Write*">Write Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Pdf_C1PdfDocumentBase_Write_" data-uid="C1.C1Pdf.C1PdfDocumentBase.Write*"></a>
<h4 id="C1_C1Pdf_C1PdfDocumentBase_Write_System_String_System_Object___" data-uid="C1.C1Pdf.C1PdfDocumentBase.Write(System.String,System.Object[])">Write(string, params object[])</h4>
<div class="markdown level1 summary"><p>Writes raw content into the Pdf stream for the current page.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Write(string format, params object[] args)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Write(format As String, ParamArray args As Object())</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.string">string</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>Format string, as in <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string.format#system-string-format(system-string-system-object)">Format(string, object)</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>[]</td>
      <td><span class="parametername">args</span></td>
      <td><p>Array of objects to write using <code class="paramref">format</code>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Pdf_C1PdfDocumentBase_Write_System_String_System_Object____remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This is a low-level method that allows you to insert Pdf commands directly
into the page stream. It is intended for use by derived classes and requires
knowledge of the Pdf document structure and syntax.</p>
</div>
</div>
