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

# ComponentSynchronizer オブジェクト（IComponentSynchronizer インターフェイス）

> Windows 上の ABBYY FineReader Engine Visual Components における ComponentSynchronizer オブジェクト（IComponentSynchronizer インターフェイス）— ComponentSynchronizer オブジェクトを使用すると、異なる...

<Warning>
  Visual Components は、Windows 用 FRE で実装されています。
</Warning>

ComponentSynchronizer オブジェクトを使用すると、異なるコンポーネント間でドキュメント処理を同期できます。つまり、接続されているすべての Visual Components で、すべての操作が同時に実行されます。

Component Synchronizer にはユーザー インターフェイスがありません。また、Visual Components の内部機能は使用せず、コンポーネントの COM API のみを使用します。特定の状況で Synchronizer がどのように動作するかについては、[Component Synchronizer の動作の仕組み](/ja/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/how-component-synchronizer-works)を参照してください。

同期に関する情報は、専用の送信インターフェイスを通じて通知されます。これらのインターフェイスは、[IComponentSynchronizerEvents](/ja/fine-reader/engine/visual-components-reference/supplementary-objects/icomponentsynchronizerevents) (C++ 用) および dispinterface [DIComponentSynchronizerEvents](/ja/fine-reader/engine/visual-components-reference/supplementary-objects/icomponentsynchronizerevents) (Visual Basic 用) です。

なお、Visual Basic ユーザーはイベント インターフェイスの実装の詳細を意識する必要はありません。この開発プラットフォームには、それらを簡単に処理するための手段が用意されているためです。このオブジェクトは、Visual Basic では WithEvents として宣言できます。

C++ ユーザーにとっては、これは IConnectionPointContainer インターフェイスをサポートしていることを意味します。通知イベントを受け取るには、IComponentSynchronizerEvents インターフェイスから派生したオブジェクトを作成し、標準的な COM の方法で、そのオブジェクトと ComponentSynchronizer オブジェクトに実装されているイベント ソースとの接続を設定する必要があります。

<Note>
  Engine の終了処理を行う前に、Component Synchronizer を解放することをお勧めします。
</Note>

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

| Name             | Type                                                                                                                                                                    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Document         | [FRDocument](/ja/fine-reader/engine/api-reference/document-related-objects/frdocument)                                                                                  | Component Synchronizer に接続されているドキュメントを指定します。                                                                                                                                                                                                                                                                                                                                                                                                                        |
| DocumentViewer   | [DocumentViewer](/ja/fine-reader/engine/visual-components-reference/documentviewer)                                                                                     | Component Synchronizer に接続されている Document Viewer を指定します。                                                                                                                                                                                                                                                                                                                                                                                                             |
| ImageViewer      | [ImageViewer](/ja/fine-reader/engine/visual-components-reference/imageviewer)                                                                                           | Component Synchronizer に接続されている Image Viewer を指定します。                                                                                                                                                                                                                                                                                                                                                                                                                |
| PageIndex        | [int](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)                                                               | ドキュメント内のアクティブ ページのインデックスを指定します。                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ProcessingParams | [DocumentProcessingParams](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/documentprocessingparams) | ドキュメントの既定の処理パラメーターを格納します。このプロパティを使用して処理パラメーターを変更すると、接続されている Document Viewer、Image Viewer、および Zoom Viewer の ProcessingParams プロパティは同じ値に設定されます。また、接続されている Text Editor と Text Validator の SynthesisParamsForDocument プロパティは [IDocumentProcessingParams::SynthesisParamsForDocument](/ja/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/documentprocessingparams#synthesisparamsfordocument) の値に設定されます。 |
| TextEditor       | [TextEditor](/ja/fine-reader/engine/visual-components-reference/texteditor)                                                                                             | Component Synchronizer に接続されている Text Editor を指定します。                                                                                                                                                                                                                                                                                                                                                                                                                 |
| TextValidator    | [TextValidator](/ja/fine-reader/engine/visual-components-reference/textvalidator)                                                                                       | Component Synchronizer に接続されている Text Validator を指定します。                                                                                                                                                                                                                                                                                                                                                                                                              |
| ZoomViewer       | [ZoomViewer](/ja/fine-reader/engine/visual-components-reference/zoomviewer)                                                                                             | Component Synchronizer に接続されている Zoom Viewer を指定します。                                                                                                                                                                                                                                                                                                                                                                                                                 |

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

このコンポーネントは、以下のコードサンプルで使用されています: [VisualComponents](/ja/fine-reader/engine/guided-tour/samples#visualcomponents).

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

[IComponentSynchronizerEvents](/ja/fine-reader/engine/visual-components-reference/supplementary-objects/icomponentsynchronizerevents)

[Component Synchronizer の動作の仕組み](/ja/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/how-component-synchronizer-works)

[グラフィカルユーザーインターフェイスを備えたアプリケーションの作成](/ja/fine-reader/engine/guided-tour/advanced-techniques/using-gui-elements/creating-an-application-with-gui)
