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

# IFormWindow

> IFormWindow を使用して FlexiCapture のフォーム ウィンドウを操作し、field コントロールの検索、アクティブ コントロールの設定、ドッキング、テキストサイズ、スクロール位置の調整を行えます。

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

フォーム ウィンドウを表します。

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

| **定義**                                                                                                                                               | **説明**                                                                                                   |
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| EnsureRectVisible( imageRect : [IShellRect](/ja/flexi-capture/appendix/scripts-shell/i-shell-rect) )                                                 | 指定したRectangleが表示されるようにスクロールボックスを移動します                                                                    |
| FindControl( field : [IField](/ja/flexi-capture/appendix/scripts/ifield) ) : [IFieldControl](/ja/flexi-capture/appendix/scripts-shell/ifieldcontrol) | [ControllerInterop の field region](/ja/flexi-capture/appendix/scripts/ifield) の値を使用して、field コントロールを検索します |

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

<table width="100%">
  <thead>
    <tr>
      <th>
        <p>
          <strong>名前</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>型</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>アクセス</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>説明</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>ActiveControl</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts-shell/ifieldcontrol">IFieldControl</a>
        </p>
      </td>

      <td>
        <p>読み取り/書き込み</p>
      </td>

      <td>
        <p>
          フォーム上で現在アクティブなコントロールです。このプロパティの値は、<a href="/ja/flexi-capture/appendix/scripts-shell/field-activation">On Field Control Activate</a> および{" "}
          <a href="/ja/flexi-capture/appendix/scripts-shell/field-deactivation">On Field Control Deactivate</a> イベントからは変更できません。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>ClientRect</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts-shell/i-shell-rect">IShellRect</a>
        </p>
      </td>

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

      <td>
        <p>クライアント領域のRectangleです (ウィンドウ座標) 。</p>
        <p>メインウィンドウの左上隅の座標は (0, 0) です。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>Control</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts-shell/ifieldcontrol">IFieldControl</a>
        </p>
      </td>

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

      <td>
        <p>フォームのメインコントロールです。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>Docking</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts-shell/tdockingtype">TDockingType</a>
        </p>
      </td>

      <td>
        <p>読み取り/書き込み</p>
      </td>

      <td>
        <p>
          ドキュメントエディター内での、<strong>IFormWindow</strong> の <a href="/ja/flexi-capture/appendix/scripts-shell/iimagewindow">IImageWindow</a> に対する位置です。
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>DocumentWindow</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts-shell/idocumenteditor">IDocumentEditor</a>
        </p>
      </td>

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

      <td>
        <p>ドキュメントエディターです。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>Handle</p>
      </td>

      <td>
        <p>int</p>
      </td>

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

      <td>
        <p>ウィンドウのハンドルです。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>Ratio</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts-shell/irational">IShellRational</a>
        </p>
      </td>

      <td>
        <p>読み取り/書き込み</p>
      </td>

      <td>
        <p>
          <strong>IFormWindow</strong> ウィンドウのサイズ (分子) と、<strong>IFormWindow</strong> ウィンドウと{" "}
          <a href="/ja/flexi-capture/appendix/scripts-shell/ierrorswindow">IErrorsWindow</a> ウィンドウの合計サイズ (分母) の比率です。
        </p>

        <p>
          Docking プロパティの値が <strong>DT\_Top</strong> または <strong>DT\_Bottom</strong> の場合は、y 方向の比率が測定されます。
        </p>

        <p>それ以外の場合は、x 方向の比率が測定されます。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>ScrollPos</p>
      </td>

      <td>
        <p>int</p>
      </td>

      <td>
        <p>読み取り/書き込み</p>
      </td>

      <td>
        <p>スクロールボックスの位置です。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>TextSize</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts-shell/ttextsize">TTextSize</a>
        </p>
      </td>

      <td>
        <p>読み取り/書き込み</p>
      </td>

      <td>
        <p>テキストのサイズです。</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>TotalRect</p>
      </td>

      <td>
        <p>
          <a href="/ja/flexi-capture/appendix/scripts-shell/i-shell-rect">IShellRect</a>
        </p>
      </td>

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

      <td>
        <p>フォーム全体のRectangleです。</p>
        <p>クライアント領域のサイズがフォームのサイズより小さい場合、フォーム ウィンドウにはスクロールバーが表示されます。</p>
      </td>
    </tr>
  </tbody>
</table>
