An NDoc Documented Class Library

Window.GetImage メソッド (Boolean, Boolean, Int32, Int32)

ウィンドウの画像を取得します。 ウィンドウが最前面にないと正しく取得できません。

public Bitmap GetImage(
   bool bClient,
   bool bCursor,
   int iBmpWidth,
   int iBmpHeight
);

パラメータ

bClient
true:Client領域を取得, false:Window全体を取得
bCursor
true:マウスカーソルも取得, false:マウスカーソルは取得しない
iBmpWidth
生成するBitmapの横幅
iBmpHeight
生成するBitmapの高さ

戻り値

取得した画像

参照

Window クラス | FNF.WindowController 名前空間 | Window.GetImage オーバーロードの一覧