HavenDV / H.Screenshoter

Allows you to screenshot a screen or a portion of the screen. Supports multiple displays with different scales.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Language License Requirements Build Status

Description

Nuget

NuGet

Install-Package H.Screenshoter

Usage

using H.Utilities;

var bitmap = Screenshoter.Shot();
var bitmap = await Screenshoter.ShotAsync();

// Rectangle in physical screen coordinates(Without DPI).
// The transmitted coordinates will select the first screen of three HD monitors, 
// where the second is specified as primary.
var bitmap = Screenshoter.Shot(Rectangle.FromLTRB(-1920, 0, 0, 1080));

// Helper methods
Screenshoter.GetPhysicalScreens() // returns all screens rectangles.
Screenshoter.GetPhysicalScreenRectangle() // returns global screen rectangle.

Contacts

About

Allows you to screenshot a screen or a portion of the screen. Supports multiple displays with different scales.

License:MIT License


Languages

Language:C# 100.0%