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

# IDocumentItem

> IDocumentItem は、FlexiCapture のドキュメント ウィンドウに表示される文書を表します。これを選択または展開して、ページ、Rectangle、次のワークフローステージを参照できます。

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

[ドキュメント ウィンドウ](/ja/flexi-capture/appendix/scripts-shell/idocumentswindow)内のドキュメントを表します。

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

| **名前**          | **型**                                                                     | **アクセス**   | **説明**                                                                                     |
| --------------- | ------------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------------ |
| Collection      | [IDocumentItems](/ja/flexi-capture/appendix/scripts-shell/idocumentitems) | 読み取り専用     | ドキュメントを含むコレクション                                                                            |
| Document        | [IDocument](/ja/flexi-capture/appendix/scripts/idocument)                 | 読み取り専用     | ドキュメント                                                                                     |
| Expanded        | bool                                                                      | Read/write | ドキュメントが展開されているかどうかを指定します                                                                   |
| MarkedNextStage | [IStageInfo](/ja/flexi-capture/appendix/scripts/istageinfo)               | 読み取り専用     | タスクの完了後にドキュメントが送られる次のステージ。                                                                 |
| PageItems       | [IPageItems](/ja/flexi-capture/appendix/scripts-shell/ipageitems)         | 読み取り専用     | ドキュメントに含まれるページのコレクション                                                                      |
| Rect            | [IShellRect](/ja/flexi-capture/appendix/scripts-shell/i-shell-rect)       | 読み取り専用     | [IDocumentsWindow](/ja/flexi-capture/appendix/scripts-shell/idocumentswindow) 内でのドキュメントの矩形 |
| Selected        | bool                                                                      | Read/write | ドキュメントが選択されているかどうかを指定します                                                                   |
| TaskDocument    | bool                                                                      | 読み取り専用     | ドキュメントが現在のタスクに属しているかどうかを指定します                                                              |
| TaskWindow      | [ITaskWindow](/ja/flexi-capture/appendix/scripts-shell/itaskwindow)       | 読み取り専用     | タスクウィンドウ                                                                                   |

<Note>
  **サムネイル表示**モードでは、**Expanded** プロパティの値は常に **true** です。プロパティを **false** に設定してもエラーにはなりませんが、値は **true** のままです。
</Note>

<Note>
  ドキュメントが折りたたまれている場合、**DocumentItem.PageItems.Count** プロパティは "0" を返します。
</Note>
