> ## 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.

# ParagraphParams オブジェクト（IParagraphParams インターフェイス）

> ABBYY FineReader Engine API の ParagraphParams オブジェクト（IParagraphParams インターフェイス）— 段落ごとの拡張プロパティ（インデント、間隔、配置など）。合成後にのみ意味を持ち、ファイル / メモリに保存可能な永続オブジェクトです。

このオブジェクトでは、1 つの段落の拡張プロパティを利用できます。

<Warning>
  1 つの段落のプロパティを操作するには、まず合成を実行するいずれかの関数 (たとえば、[FRDocument](/ja/fine-reader/engine/api-reference/document-related-objects/frdocument) オブジェクトの [Process](/ja/fine-reader/engine/api-reference/document-related-objects/frdocument/process-method) メソッドまたは [Synthesize](/ja/fine-reader/engine/api-reference/document-related-objects/frdocument/synthesize-method) メソッド) を呼び出す必要があります。これらのプロパティが意味を持つのは、合成後だけだからです。
</Warning>

ParagraphParams オブジェクトは永続オブジェクトです。これは、オブジェクトの現在の状態を永続ストレージに書き込めることを意味します。後で、永続ストレージからオブジェクトの状態を読み取ることで、オブジェクトを再作成できます。次のメソッドは、オブジェクトの永続化を提供します。

Linux: [SaveToFile](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetofile-method) および [LoadFromFile](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfromfile-method)

Windows: [SaveToFile](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetofile-method)、[LoadFromFile](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfromfile-method)、[SaveToMemory](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetomemory-method)、および [LoadFromMemory](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfrommemory-method)。

<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">
            read-only
          </a>
        </p>
      </td>

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

            {" "}
          </strong>

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

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

    <tr>
      <td>
        <p>
          <strong>IsRightToLeft</strong>
        </p>
      </td>

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

      <td>
        <p>
          段落の書字方向が右から左 (ヘブライ語など) かどうかを示します。
        </p>

        <p>デフォルトでは、このプロパティの値は FALSE です。</p>
      </td>
    </tr>

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

          <strong>BackgroundColor</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>

        <Note>
          int 値は、RGB トリプレットから次の式で算出されます： (赤の値) + (256 × 緑の値) + (65536 × 青の値) 。赤の値はトリプレットの第1成分、緑の値は第2成分、青の値は第3成分です。たとえば、白の int 値は 16777215 になります。
        </Note>

        <p>
          デフォルトでは、このプロパティの値は -1 です。これは色が透明であることを意味します。
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>インデントと間隔</em>
        </p>
      </td>
    </tr>

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

          <strong>ParagraphAlignment</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/enumerations/paragraphalignmentenum">
              ParagraphAlignmentEnum
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          段落の水平方向の配置を格納し、変更できます。
        </p>

        <p>デフォルトでは、この値は PA\_Left です。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>FirstLineIndent</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>
          段落の左端を基準とした先頭行のインデントを格納し、設定できます。このプロパティの値は活版ポイントの 1/100 単位で計測され、エクスポート結果に影響します。
        </p>

        <p>デフォルトでは、この値は 0 です。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>LeftIndent</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>
          段落の左インデントを格納し、設定できます。インデントの値は、ブロックの左端から段落の左端までの距離です。このプロパティの値は活版ポイントの 1/100 単位で計測され、エクスポート結果に影響します。
        </p>

        <p>デフォルトでは、この値は 0 です。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>RightIndent</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>
          段落の右インデントを格納し、設定できます。インデントの値は、ブロックの右端から段落の右端までの距離です。このプロパティの値は活版ポイントの 1/100 単位で計測され、エクスポート結果に影響します。
        </p>

        <p>デフォルトでは、この値は 0 です。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>LineSpacing</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>
          段落の行間隔 (活版ポイントの 1/100 単位) を格納し、設定できます。行間隔の値は、段落内の各行のベースライン間の平均距離です。このプロパティの値がゼロの場合、行間隔が未定義であるか意味を持たないことを示します (例：バーコードブロック内のテキスト) 。値がゼロの場合、認識テキストのエクスポート時に無視されます。
        </p>

        <p>デフォルトでは、この値は 0 です。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>SpaceAfter</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>
          段落後のスペースの値を格納し、設定できます。段落後のスペースは、ブロックの下端または次の段落の上端から、現在の段落の下端までの距離です。
          段落自体の下境界から段落自体の上境界までの距離です。このプロパティの値は活版ポイントの1/100単位で計測され、エクスポート結果に影響します。
        </p>

        <p>デフォルト値は0です。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <strong>SpaceBefore</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>
          段落前のスペースの値を格納し、設定できます。段落前のスペースとは、ブロックの上境界または前の段落の下境界から、段落自体の上境界までの距離です。このプロパティの値は活版ポイントの1/100単位で計測され、エクスポート結果に影響します。
        </p>

        <p>デフォルト値は0です。</p>
      </td>
    </tr>
  </tbody>
</table>

<div id="methods">
  ## メソッド
</div>

| 名前                                                                                                                                               | 説明                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------- |
| [CopyFrom](/ja/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/copyfrom-method)                         | 現在のオブジェクトのプロパティを、別のオブジェクトの対応するプロパティの値で初期化します。 |
| [LoadFromFile](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfromfile-method)                                       | ディスク上のファイルからオブジェクトの内容を復元します。                  |
| [LoadFromMemory](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/loadfrommemory-method) <br /><br /> **注:** *Windows のみ。* | グローバル メモリからオブジェクトの内容を復元します。                   |
| [SaveToFile](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetofile-method)                                           | オブジェクトの内容をディスク上のファイルに保存します。                   |
| [SaveToMemory](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/savetomemory-method) <br /><br /> **注:** *Windows のみ。*     | オブジェクトの内容をグローバル メモリに保存します。                    |

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

<img src="https://mintcdn.com/abbyy/i-EfCQVmseNiPQcp/images/fine-reader/engine/paragraphparams.gif?s=0bade7a94815570b152c29a0cb3a64c0" alt="ParagraphParams" width="153" height="54" data-path="images/fine-reader/engine/paragraphparams.gif" />[](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph#extendedparams)[](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph)

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

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

このオブジェクトは、[Engine](/ja/fine-reader/engine/api-reference/engine-object-iengine-interface) オブジェクトの [CreateParagraphParams](/ja/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createlessobjectgreater-methods) メソッドの出力パラメーターです。

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

[Paragraph](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph)

[ParagraphStyle](/ja/fine-reader/engine/api-reference/text-related-objects/paragraphstyle)

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