# C1.Pdf.PdfTextBlock

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Pdf_PdfTextBlock" data-uid="C1.Pdf.PdfTextBlock" class="text-break">PdfTextBlock Class
</h1>
  <div class="markdown level0 summary"><p>The text block with current and alternative font.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">PdfTextBlock</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Pdf.html">C1.Pdf</a></h6>
  <h6><strong>Assembly</strong>: C1.Pdf.dll</h6>
  <h5 id="C1_Pdf_PdfTextBlock_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PdfTextBlock</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PdfTextBlock</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Pdf_PdfTextBlock__ctor_System_String_C1_Util_Font_System_Int32_" data-uid="C1.Pdf.PdfTextBlock.#ctor(System.String,C1.Util.Font,System.Int32)">
          <a class="xref" href="C1.Pdf.PdfTextBlock.-ctor.html#C1_Pdf_PdfTextBlock__ctor_System_String_C1_Util_Font_System_Int32_">PdfTextBlock(string, Font, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialization text block.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfTextBlock__ctor_System_String_C1_Util_Font_System_Int32___System_Int32___System_Int32_" data-uid="C1.Pdf.PdfTextBlock.#ctor(System.String,C1.Util.Font,System.Int32[],System.Int32[],System.Int32)">
          <a class="xref" href="C1.Pdf.PdfTextBlock.-ctor.html#C1_Pdf_PdfTextBlock__ctor_System_String_C1_Util_Font_System_Int32___System_Int32___System_Int32_">PdfTextBlock(string, Font, int[], int[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialization text block.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Pdf_PdfTextBlock_Buffer" data-uid="C1.Pdf.PdfTextBlock.Buffer">
          <a class="xref" href="C1.Pdf.PdfTextBlock.Buffer.html#C1_Pdf_PdfTextBlock_Buffer">Buffer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets text buffer for write of the document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfTextBlock_Font" data-uid="C1.Pdf.PdfTextBlock.Font">
          <a class="xref" href="C1.Pdf.PdfTextBlock.Font.html#C1_Pdf_PdfTextBlock_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets current font of the text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfTextBlock_FontIndex" data-uid="C1.Pdf.PdfTextBlock.FontIndex">
          <a class="xref" href="C1.Pdf.PdfTextBlock.FontIndex.html#C1_Pdf_PdfTextBlock_FontIndex">FontIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets real font index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfTextBlock_Kerns" data-uid="C1.Pdf.PdfTextBlock.Kerns">
          <a class="xref" href="C1.Pdf.PdfTextBlock.Kerns.html#C1_Pdf_PdfTextBlock_Kerns">Kerns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets character kerning (inter-character spacing).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfTextBlock_Placement" data-uid="C1.Pdf.PdfTextBlock.Placement">
          <a class="xref" href="C1.Pdf.PdfTextBlock.Placement.html#C1_Pdf_PdfTextBlock_Placement">Placement</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets glyphs placement for write of the document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfTextBlock_Text" data-uid="C1.Pdf.PdfTextBlock.Text">
          <a class="xref" href="C1.Pdf.PdfTextBlock.Text.html#C1_Pdf_PdfTextBlock_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets text for write of the document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Pdf_PdfTextBlock_Widths" data-uid="C1.Pdf.PdfTextBlock.Widths">
          <a class="xref" href="C1.Pdf.PdfTextBlock.Widths.html#C1_Pdf_PdfTextBlock_Widths">Widths</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets width of each character.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Pdf_PdfTextBlock_Merge_System_Collections_Generic_List_C1_Pdf_PdfTextBlock__" data-uid="C1.Pdf.PdfTextBlock.Merge(System.Collections.Generic.List{C1.Pdf.PdfTextBlock})">
          <a class="xref" href="C1.Pdf.PdfTextBlock.Merge.html#C1_Pdf_PdfTextBlock_Merge_System_Collections_Generic_List_C1_Pdf_PdfTextBlock__">Merge(List&lt;PdfTextBlock&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Merge all text blocks into one text value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
