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

# CharParams オブジェクト（ICharParams インターフェース）

> ABBYY FineReader Engine API の CharParams オブジェクト（ICharParams インターフェース）— 認識された1文字のパラメーター（書式、画像上の Rectangle、言語、認識の仮説）を公開します。これらは合成後にのみ意味を持ちます。

このオブジェクトを使用すると、認識されたテキスト内の1文字に関するさまざまなパラメーターにアクセスできます。具体的には、文字の書式設定、画像上の Rectangle、認識言語、および認識の仮説です。新しく作成されたこの型のオブジェクトのすべてのブール型プロパティは FALSE に設定されます。

<Warning>
  認識されたテキスト内の特定の文字のパラメーターを操作する場合は、まず合成を実行する関数 (例：[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>

文字が名刺のテキストから取得された場合、オブジェクトの以下のプロパティのみが設定されます。

* BaseLine
* Bottom
* Left
* Right
* Top
* IsSuspicious
* ErrorProbability
* CharacterRegion
* CharacterRecognitionVariantIndex
* CharacterRecognitionVariants
* SelectedCharacterRecognitionVariant
* WordRecognitionVariants
* IsFromSourceContent
* IsWordFirst
* IsWordLeftmost

<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>Engine</strong> オブジェクトを返します。
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>文字認識言語</em>
        </p>
      </td>
    </tr>

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

          <strong>LanguageId</strong>
        </p>
      </td>

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

      <td>
        <p>
          文字の言語 ID を指定します。Win32 LCID に変換するには、{" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/engine-object-iengine-interface/supplementary-methods/convertlanguageidtolcid-method">
              IEngine::ConvertLanguageIdToLCID
            </a>
          </strong>

          {" "}

          メソッドを使用します。
        </p>

        <p>
          デフォルトでは、このプロパティはシステムのデフォルト言語 ID で初期化されます。
        </p>
      </td>
    </tr>

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

          <strong>LanguageName</strong>
        </p>
      </td>

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

      <td>
        <p>
          文字の言語の内部名を格納し、設定することができます。
        </p>

        <Note>
          1 つの{" "}

          <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/working-with-languages#recognition_language_for_characters">
            基本認識言語
          </a>

          {" "}

          が 1 つの認識済み単語に対応する場合、認識後にその単語内の各文字の LanguageName プロパティには基本言語の内部名が設定されます。複数の基本認識言語が 1 つの単語に対応する場合 (例：二言語複合語) 、その単語内の文字の LanguageName プロパティは空になります。一方、LanguageId プロパティは、認識済み単語の内容にかかわらず基本言語の識別子を保持します。
        </Note>

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

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

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

          <strong>CharacterRegion</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/region">
              Region
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          文字の正確な Region を指定します。Region は矩形でない場合があり、初期状態では <strong>Left</strong>、<strong>Top</strong>、<strong>Right</strong>、および <strong>Bottom</strong> プロパティで定義された矩形内に収まっています。文字の正確な Region を変更しても、<strong>Left</strong>、<strong>Top</strong>、{" "}
          <strong>Right</strong>、および <strong>Bottom</strong> プロパティは変更されません。
        </p>

        <p>
          このプロパティは、{" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/recognizerparams#savecharacterregions">
              IRecognizerParams::SaveCharacterRegions
            </a>
          </strong>

          {" "}

          プロパティを TRUE に設定して認識を実行した後にのみ使用できます。
        </p>

        <Note>
          このプロパティは定数オブジェクトを返します。文字の正確な Region を変更するには、まず{" "}

          <a href="/ja/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createlessobjectgreater-methods">
            IEngine::CreateRegion
          </a>

          {" "}

          メソッドを使用して中間の Region オブジェクトを取得し、必要なパラメーターを変更した後、取得したオブジェクトをプロパティに割り当ててください。
        </Note>
      </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>
          文字矩形の下端の座標を格納します。この矩形は画像上で定義されており、テキストの向きは考慮されません。未定義の場合、4 つの座標はすべてゼロになります。このプロパティは直接変更することはできず、<strong>SetRect</strong> メソッドを通じてのみ変更できます。
        </p>

        <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>
          文字矩形の左端の座標を格納します。この矩形は画像上で定義されており、テキストの向きは考慮されません。未定義の場合、4 つの座標はすべてゼロになります。このプロパティは直接変更することはできず、<strong>SetRect</strong> メソッドを通じてのみ変更できます。
        </p>

        <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>
          文字矩形の右端の座標を格納します。この矩形は画像上で定義されており、テキストの向きは考慮されません。未定義の場合、4 つの座標はすべてゼロになります。このプロパティは直接変更することはできず、<strong>SetRect</strong> メソッドを通じてのみ変更できます。
        </p>

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

          , read-only
        </p>
      </td>

      <td>
        <p>
          文字矩形の上端の座標を格納します。
          この矩形は画像上で定義されており、テキストの向きは考慮されません。
          未定義の場合、4つの座標はすべてゼロになります。このプロパティは直接変更できません。変更するには
          <strong>SetRect</strong> メソッドを使用してください。
        </p>

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

    <tr>
      <td colspan="3">
        <p>
          <em>文字の位置、スケーリング、スペーシング</em>
        </p>
      </td>
    </tr>

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

          <strong>IsWordLeftmost</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>
          複雑な状況 (スペースで区切られていない2つの単語や、スペースなしで句読点を含む単語など) では、
          このプロパティが正しく機能しない場合があります。文字のフラグが設定された後に、
          認識エンジンが単語数に関する推定を変更することがあります。
        </p>

        <p>
          このプロパティはシンセシス中に設定されます。シンセシスが完了する前にプロパティが呼び出された場合、デフォルト値はFALSEです。
        </p>

        <Note>
          <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/recognizing-cjk-languages">
            中国語、日本語、または韓国語
          </a>

          の場合、単語が検出されないため、このプロパティの信頼性は保証されません。
        </Note>
      </td>
    </tr>

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

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

        <p>注意事項：</p>

        <ul>
          <li>
            右から左への書字方向を持つ言語 (ヘブライ語など) では、
            このプロパティは単語内で最も右にある文字を示します。
          </li>

          <li>
            <a href="/ja/fine-reader/engine/guided-tour/advanced-techniques/recognizing-cjk-languages">
              中国語、日本語、または韓国語
            </a>

            の場合、単語が検出されないため、このプロパティの信頼性は保証されません。
          </li>
        </ul>
      </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>
          文字列のベースラインからの文字のシフト量をピクセル単位で設定します。文字列のベースラインは{" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/text-related-objects/paragraphline#baseline">
              IParagraphLine::BaseLine
            </a>
          </strong>

          {" "}

          プロパティで定義されます。このプロパティは主にテキストに埋め込まれた画像に使用されます。
        </p>

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

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

          <strong>Spacing</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>
          文字間の追加スペーシングをtwip単位で指定します。twipはポイントの1/20で、ポイントは1/72インチです。
        </p>

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

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

          <strong>HorizontalScale</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/1000単位で格納します。</p>

        <p>
          文字が名刺のテキストから取得された場合、このプロパティはデフォルト値になります。
        </p>

        <p>
          このプロパティのデフォルト値は1000で、スケーリングなしに相当します。
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>文字の装飾</em>
        </p>
      </td>
    </tr>

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

          <strong>Color</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>
          記号の色のRGB値を設定します。背景色は{" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/text-related-objects/paragraphparams#backgroundcolor">
              IParagraphParams::BackgroundColor
            </a>
          </strong>

          {" "}

          プロパティによって段落全体に対して定義されます。
        </p>

        <p>
          このプロパティの値は-1になる場合があり、その場合は色が透明であることを意味します。
        </p>

        <Note>
          int値はRGBトリプレットから次の式を使用して計算されます： (赤の値) + (256 × 緑の値) + (65536 × 青の値) 。ここで、赤の値は1番目のトリプレット成分、緑の値は2番目のトリプレット成分、青の値は3番目のトリプレット成分です。
          例えば、白のint値は16777215です。
        </Note>

        <p>デフォルトでは、テキストの色は黒 (RGB(0,0,0)) です。</p>
      </td>
    </tr>

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

          <strong>IsBold</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>
          文字が名刺のテキストから取得された場合、このプロパティはデフォルト値になります。
        </p>

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

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

          <strong>IsItalic</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>
          文字が名刺のテキストから取得された場合、このプロパティはデフォルト値になります。
        </p>

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

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

          <strong>IsUnderlined</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="isstrikeout" />

          <strong>IsStrikeout</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>
          文字が名刺のテキストから取得された場合、このプロパティはデフォルト値になります。
        </p>

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

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

          <strong>IsSubscript</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>
          文字が下付き文字かどうかを指定します。<strong>IsSuperscript</strong> プロパティと同時に TRUE に設定することはできません。同時に設定した場合、認識されたテキストのエクスポート時にエラーが発生します。
        </p>

        <p>
          文字が名刺のテキストから取得された場合、このプロパティはデフォルト値になります。
        </p>

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

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

          <strong>IsSuperscript</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>
          文字が上付き文字かどうかを指定します。<strong>IsSubscript</strong> プロパティと同時に TRUE に設定することはできません。同時に設定した場合、認識されたテキストのエクスポート時にエラーが発生します。
        </p>

        <p>
          文字が名刺のテキストから取得された場合、このプロパティはデフォルト値になります。
        </p>

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

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

          <strong>IsSmallCaps</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 colspan="3">
        <p>
          <em>フォント属性</em>
        </p>
      </td>
    </tr>

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

          <strong>FontName</strong>
        </p>
      </td>

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

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

      <td>
        <p>
          文字のフォント名を格納します。このプロパティは直接変更できません。変更するには <strong>SetFont</strong> メソッドを使用します。
        </p>

        <p>デフォルト値は「Times New Roman」です。</p>
      </td>
    </tr>

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

          <strong>FontSize</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>
          文字のフォントの高さを twips 単位で指定します。1 twip はポイントの 1/20 であり、1 ポイントは 1/72 インチです。
        </p>

        <p>
          このプロパティのデフォルト値は 10 ポイント (200 twips) です。
        </p>
      </td>
    </tr>

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

          <strong>FontStyle</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/text-related-objects/fontstyle">
              FontStyle
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>文字のフォントスタイルにアクセスします。</p>
      </td>
    </tr>

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

          <strong>FontType</strong>
        </p>
      </td>

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

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

      <td>
        <p>
          文字のフォントの種類を格納します。このプロパティは
          <strong>SetFont</strong> メソッドを使用して変更する必要があります。
        </p>

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

    <tr>
      <td colspan="3">
        <p>
          <em>文字の信頼度と認識バリアント</em>
        </p>
      </td>
    </tr>

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

          <strong>IsSuspicious</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>
          文字の認識信頼度が低い場合に TRUE を返します。このプロパティを使用して、検証が必要かどうかを判断します。
        </p>

        <p>
          このプロパティは、{" "}
          <strong>ErrorProbability</strong> の値と認識設定に基づいて計算されます。検証においてより細かい条件分岐を実装する必要がある場合は、代わりに <strong>ErrorProbability</strong> を使用してください。
        </p>

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

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

          <strong>ErrorProbability</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 ～ 100 の範囲) を返します。
        </p>

        <p>
          エラー確率はコンテキスト全体を考慮するため、認識結果に対してのみ利用可能であり、個々の文字認識バリアントに対しては利用できません。認識バリアントを相互に比較するには、{" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/text-related-objects/characterrecognitionvariant#charconfidence">
              ICharacterRecognitionVariant::CharConfidence
            </a>
          </strong>

          .
        </p>

        <p>
          エラー確率は、認識処理を経ずに取得されたシンボル (ソース PDF ファイルから直接取得されたものなど) については計算されません。
        </p>
      </td>
    </tr>

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

          <strong>CharacterRecognitionVariants</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/text-related-objects/characterrecognitionvariants">
              CharacterRecognitionVariants
            </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>文字認識バリアントのコレクションを返します。</p>

        <p>
          このプロパティは、印刷不可能な文字 (スペース、改行など) や、認識されずに明示的な編集操作でテキストに追加された文字に対してはゼロを返します。また、以前のバージョンの ABBYY FineReader Engine でテキストが認識された場合もゼロが返されます。
        </p>

        <p>
          {" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/recognizerparams#savecharacterrecognitionvariants">
              IRecognizerParams::SaveCharacterRecognitionVariants
            </a>
          </strong>

          {" "}

          プロパティが FALSE に設定されている場合、返されるコレクションには要素が 1 つだけ含まれます。それ以外の場合、コレクションには 1 つ以上の要素が含まれ、バリアントは最良から最悪の順に並べられます。
        </p>
      </td>
    </tr>

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

          <strong>CharacterRecognitionVariantIndex</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>CharacterRecognitionVariants</strong> コレクション内で選択された文字認識バリアントのインデックスを格納します。
        </p>
      </td>
    </tr>

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

          <strong>SelectedCharacterRecognitionVariant</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/text-related-objects/characterrecognitionvariant">
              CharacterRecognitionVariant
            </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>CharacterRecognitionVariants</strong> プロパティ) 内でインデックス{" "}
          <strong>CharacterRecognitionVariantIndex</strong> に対応する要素です。
        </p>
      </td>
    </tr>

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

          <strong>WordRecognitionVariants</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/ja/fine-reader/engine/api-reference/text-related-objects/wordrecognitionvariants">
              WordRecognitionVariants
            </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>
          その文字が属する単語の認識バリアントのコレクションを返します。
        </p>

        <p>
          このプロパティは、印刷不可能な文字 (スペース、改行など) や、認識されずに明示的な編集操作でテキストに追加された文字に対してはゼロを返します。また、以前のバージョンの ABBYY FineReader Engine でテキストが認識された場合もゼロが返されます。
        </p>

        <p>
          {" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/recognizerparams#savewordrecognitionvariants">
              IRecognizerParams::SaveWordRecognitionVariants
            </a>
          </strong>

          {" "}

          プロパティが FALSE に設定されている場合、返されるコレクションには要素が 1 つだけ含まれます。それ以外の場合、コレクションには 1 つ以上の要素が含まれ、バリアントは内部推定メカニズムによって最良から最悪の順に並べられます。
        </p>
      </td>
    </tr>

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

          <strong>IsFromSourceContent</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>
          文字が認識処理なしで入力ファイルのテキストコンテンツから抽出されたかどうかを示します。たとえば、テキストレイヤーを持つ PDF ファイルから抽出される場合があります。
        </p>
      </td>
    </tr>

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

          <strong>IsProofed</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>
          この文字に対してスペルチェックが実行されたかどうかを指定します。
          ABBYY FineReader Engine が内部で使用・設定することはなく、
          スペルチェック用のフレームワークとして提供されます。
        </p>
      </td>
    </tr>
  </tbody>
</table>

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

| 名前                                                                                                                       | 説明                                          |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------- |
| [CopyFrom](/ja/fine-reader/engine/visual-components-reference/supplementary-objects/spellwordcollection/copyfrom-method) | 現在のオブジェクトのプロパティを、別のオブジェクトの類似プロパティの値で初期化します。 |
| [SetFont](/ja/fine-reader/engine/api-reference/text-related-objects/charparams/setfont-method)                           | シンボルに新しいフォントを設定します。                         |
| [SetRect](/ja/fine-reader/engine/api-reference/text-related-objects/charparams/setrect-method)                           | シンボルに新しい Rectangle を設定します。                  |

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

<img src="https://mintcdn.com/abbyy/6udH-pkk8zkVafYH/images/fine-reader/engine/charparams.gif?s=fde76e03d613597b4c1aec9b20acf491" alt="CharParams" width="196" height="213" data-path="images/fine-reader/engine/charparams.gif" />[](/ja/fine-reader/engine/api-reference/text-related-objects/wordrecognitionvariants)[](/ja/fine-reader/engine/api-reference/text-related-objects/wordrecognitionvariant)[](/ja/fine-reader/engine/api-reference/text-related-objects/characterrecognitionvariants)[](/ja/fine-reader/engine/api-reference/text-related-objects/characterrecognitionvariant)[](/ja/fine-reader/engine/api-reference/text-related-objects/characterrecognitionvariant)[](/ja/fine-reader/engine/api-reference/text-related-objects/fontstyle)

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

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

このオブジェクトは、以下のメソッドの出力パラメーターです。

* [Engine](/ja/fine-reader/engine/api-reference/engine-object-iengine-interface) オブジェクトの [CreateCharParams](/ja/fine-reader/engine/api-reference/engine-object-iengine-interface/creation-methods/createlessobjectgreater-methods) メソッド
* [Paragraph](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph) オブジェクトの [GetDropCapCharParams](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph/getdropcapcharparams-method) メソッド
* [BusinessCardField](/ja/fine-reader/engine/api-reference/document-related-objects/businesscardfield) オブジェクトの [GetCharParams](/ja/fine-reader/engine/api-reference/document-related-objects/businesscardfield/getcharparams-method) メソッド
* [BusinessCardFieldComponent](/ja/fine-reader/engine/api-reference/document-related-objects/businesscardfieldcomponent) オブジェクトの [GetCharParams](/ja/fine-reader/engine/api-reference/document-related-objects/businesscardfieldcomponent/getcharparams-method) メソッド
* [MrzField](/ja/fine-reader/engine/api-reference/document-related-objects/mrzfield) オブジェクトの [GetCharParams](/ja/fine-reader/engine/api-reference/document-related-objects/mrzfield/getcharparams-method) メソッド

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

このオブジェクトは、以下のメソッドへの入力パラメーターとして渡されます：

* [Paragraph](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph) オブジェクトの [GetCharParams](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph/getcharparams-method)、[SetCharParams](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph/setcharparams-method)、[Insert](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph/insert-method)、[InsertParagraphBreak](/ja/fine-reader/engine/api-reference/text-related-objects/paragraph/insertparagraphbreak-method) メソッド
* [WordRecognitionVariant](/ja/fine-reader/engine/api-reference/text-related-objects/wordrecognitionvariant) オブジェクトの [GetCharParams](/ja/fine-reader/engine/api-reference/text-related-objects/wordrecognitionvariant/getcharparams-method) メソッド
* [MrzField](/ja/fine-reader/engine/api-reference/document-related-objects/mrzfield) オブジェクトの [Insert](/ja/fine-reader/engine/api-reference/document-related-objects/mrzfield/insert-method) メソッド

<div id="samples">
  ## サンプル
</div>

<Accordion title="C# コード">
  ```csharp theme={null}
  int suspiciousCharsCount = 0;
  // テキストブロック内の疑わしい文字数を計算する
  void computeStatisticsForBlock(FREngine.IBlock block)
  {
   if (block.Type == FREngine.BlockTypeEnum.BT_Text)
   {
    FREngine.ITextBlock textBlock = block.GetAsTextBlock();
    int paragraphsCount = textBlock.Text.Paragraphs.Count;
    for (int iPar = 0; iPar < paragraphsCount; iPar++)
    {
     FREngine.IParagraph par = textBlock.Text.Paragraphs[iPar];
     string text = par.Text;
     FREngine.ICharParams charParams = engine.CreateCharParams();
     for (int iChar = 0; iChar < text.Length; iChar++)
     {
      par.GetCharParams(iChar, charParams);
      if (charParams.IsSuspicious)
      {
       suspiciousCharsCount++;
      }
     }
    }
   }
  }
  ```
</Accordion>

このオブジェクトは次のコードサンプルで使用されています: [RecognizedTextProcessing](/ja/fine-reader/engine/guided-tour/samples#recognizedtextprocessing) (Win) 、およびWindowsデモツール: [Engine Predefined Processing Profiles](/ja/fine-reader/engine/guided-tour/samples#engine_predefined_processing_profiles)。

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

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

[CharConfidence、ErrorProbability、IsSuspicious の違いは何ですか？](/ja/fine-reader/engine/frequently-asked-questions#suspicious)

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

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