> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ParagraphLine オブジェクト (IParagraphLine インターフェイス)

> ABBYY FineReader Engine API の ParagraphLine オブジェクト (IParagraphLine インターフェイス) — 認識された段落の 1 行を表し、幾何学的属性と開始/終了文字インデックスを提供します（バーコード段落では座標は使用できません）。

このオブジェクトは、認識されたテキストの段落内の 1 行を表します。そのプロパティを使用すると、行の幾何学的属性にアクセスできるほか、文字位置として見た場合に、その行の開始位置と終了位置を確認できます。

行が占める矩形は、Left、Top、Right、Bottom の各プロパティで定義されます。矩形が未定義の場合、4 つのプロパティはすべて 0 です。

<Note>
  バーコードの段落については、矩形の座標は使用できません。
</Note>

このオブジェクトは、段落行のコレクション ([ParagraphLines](/ja/fine-reader/engine/api-reference/text-related-objects/paragraphlines) オブジェクト) の要素です。

<div id="properties">
  ## プロパティ
</div>

<table>
  <thead>
    <tr>
      <th>
        <p>
          <strong>名前</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>型</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>説明</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>
          <strong>Application</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/engine-object-iengine-interface">
              Engine
            </a>
          </strong>

          ,{" "}

          <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">
            読み取り専用
          </a>
        </p>
      </td>

      <td>
        <p>
          <strong>Engine</strong> オブジェクトを返します。
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>共通属性</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>CharactersCount</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , 読み取り専用
        </p>
      </td>

      <td>
        <p>現在の段落行の文字数を格納します。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>FirstCharIndex</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , 読み取り専用
        </p>
      </td>

      <td>
        <p>
          現在の行の先頭文字のインデックスを格納します。文字のインデックスは、段落の認識テキスト内における文字の通し番号です。行の認識テキストは、<strong>Paragraph</strong> オブジェクトの <strong>Text</strong> プロパティに格納されます。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="baseline" />

          <strong>BaseLine</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , 読み取り専用
        </p>
      </td>

      <td>
        <p>
          ベースラインからページ上端までの距離を格納します。ベースラインとは、文字が配置される基準線です。ページの上端は文字の向きによって決まります (下図参照) 。
        </p>

        <p>
          <img alt="Base_line" src="https://mintcdn.com/abbyy/6udH-pkk8zkVafYH/images/fine-reader/engine/base_line.gif?s=82c843c29c8b1c887ed74c2ab7600417" width="266" height="164" data-path="images/fine-reader/engine/base_line.gif" />
        </p>

        <p>
          <strong>INT\_MAX</strong> (0x7FFFFFFF) に対応する未定義値を持つ場合があります。
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>座標</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="bottom" />

          <strong>Bottom</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , 読み取り専用
        </p>
      </td>

      <td>
        <p>
          外接矩形の下辺の座標を格納します。外接矩形とは、行のすべての文字を含む最小の矩形です。この矩形が未定義の場合、このプロパティは 0 を格納します。テキストの向きに関わらず、値はそのまま返されます。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="left" />

          <strong>Left</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , 読み取り専用
        </p>
      </td>

      <td>
        <p>
          外接矩形の左辺の座標を格納します。外接矩形とは、行のすべての文字を含む最小の矩形です。この矩形が未定義の場合、このプロパティは 0 を格納します。テキストの向きに関わらず、値はそのまま返されます。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="right" />

          <strong>Right</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , 読み取り専用
        </p>
      </td>

      <td>
        <p>
          外接矩形の右辺の座標を格納します。外接矩形とは、行のすべての文字を含む最小の矩形です。この矩形が未定義の場合、このプロパティは 0 を格納します。テキストの向きに関わらず、値はそのまま返されます。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="top" />

          <strong>Top</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , 読み取り専用
        </p>
      </td>

      <td>
        <p>
          外接矩形の上辺の座標を格納します。外接矩形とは、行のすべての文字を含む最小の矩形です。この矩形が未定義の場合、このプロパティは 0 を格納します。テキストの向きに関わらず、値はそのまま返されます。
        </p>
      </td>
    </tr>
  </tbody>
</table>

<div id="related-objects">
  ## 関連オブジェクト
</div>

<img src="https://mintcdn.com/abbyy/i-EfCQVmseNiPQcp/images/fine-reader/engine/paragraphline.gif?s=b7128caaad9ab89d6c1a09126a737b7f" alt="ParagraphLine" width="151" height="93" data-path="images/fine-reader/engine/paragraphline.gif" />[](/ja/fine-reader/engine/api-reference/text-related-objects/paragraphlines)[](/ja/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/element-property)[](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph)

[オブジェクト図](/ja/fine-reader/engine/api-reference/object-diagram)

<div id="output-parameter">
  ## 出力パラメーター
</div>

このオブジェクトは、[ParagraphLines](/ja/fine-reader/engine/api-reference/text-related-objects/paragraphlines)オブジェクトの[Item](/ja/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/item-method)メソッドの出力パラメーターです。

<div id="see-also">
  ## 関連項目
</div>

[ParagraphLines](/ja/fine-reader/engine/api-reference/text-related-objects/paragraphlines)

[テキストの操作](/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-text)

[プロパティの操作](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
