Architect's Log

I'm a Cloud Architect. I'm highly motivated to reduce toils with driving DevOps.

2010-10-21から1日間の記事一覧

【C#】デスクトップを範囲指定してキャプチャする

Cururuから移行。C#2.0でデスクトップをキャプチャするサンプルです。指定範囲をキャプチャしてBitmapで返します。 // using System.Drawing private Image GetCaptureImage(Rectangle rect) { // 指定された範囲と同サイズのBitmapを作成する Image img = n…