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

# Document parameter changed

> コメント、登録パラメーター、ExternalID、または優先度が変更される前に発生する Document parameter changed イベントを使って、ドキュメントのプロパティを整形します。

<div id="what-it-does">
  ## 機能
</div>

このイベントのハンドラーを使用して、ドキュメントのプロパティの一部を書式設定できます。

<div id="document-properties">
  ## ドキュメントのプロパティ
</div>

* コメント
* 登録パラメーターの値
* ExternalID
* ドキュメントの優先度 (string 形式で指定) 。使用可能な値の一覧については、[TProcessingPriority](/ja/flexi-capture/appendix/scripts/tprocessingpriority-appendix-scripts) オブジェクトの説明を参照してください。

<div id="when-it-is-launched">
  ## 実行されるタイミング
</div>

このスクリプトは、Documentのプロパティが変更される前に実行されます。

<div id="parameters">
  ## パラメーター
</div>

| **名前**               | **型**                                                                                     | **アクセス**                                                                                              | **説明**                 |
| -------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ---------------------- |
| Document             | [IDocument](/ja/flexi-capture/appendix/scripts/idocument)                                 | バッチドキュメントおよびページの内部[\*](/ja/flexi-capture/appendix/scripts/documentparam-change#asterisk)フィールドは使用できません | ドキュメント                 |
| PropertyModification | [IPropertyModificationInfo](/ja/flexi-capture/appendix/scripts/ipropertymodificationinfo) | 読み取り/書き込み                                                                                             | 変更されるプロパティに関する情報を格納します |

<a id="asterisk" />\* - 内部フィールドを使用するには、オブジェクトをメモリにロードする必要があります。
