- Take screenshots
var screencap = new ScreenCapture();
screencap.TakeScreenshot();
- Record animations
var screencap = new ScreenCapture
{
// Recommended for large resolution
// recordings and long GIFs.
ScalingFactor = 2
};
// Records a GIF with 100 frames,
// every 50 ms is a frame recorded.
screencap.RecordAnimation(100, 50);
- Select screenregion
var screencap = new ScreenCapture();
screencap.ScreenRegion = new ScreenRegion(...);
Clone this repository and build the solution.
Add a reference to the built DotScreencap.dll in your solution.