YariControl.RealCursorPosition 1.0.2.2

Get Real Cursor Position (DPI, Font Zoom).

Install-Package YariControl.RealCursorPosition -Version 1.0.2.2
dotnet add package YariControl.RealCursorPosition --version 1.0.2.2
<PackageReference Include="YariControl.RealCursorPosition" Version="1.0.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add YariControl.RealCursorPosition --version 1.0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

YariControl.RealCursorPosition

Get the color / position from the screen with different zoom of the Font.
You can take real screen Font zoom or DPI.

Preview how it works

Font Zoom 100:
Font Zoom 100

Font Zoom 125:
Font Zoom 125

Font Zoom 150:
Font Zoom 150

Video:
https://youtu.be/Q4IPKKButEA

How it use

Example use:

using YariControl.RealCursorPosition;
  private Point point;
  
  private void timer1_Tick(object sender, EventArgs e)
  {
      point = DisplayScreenTools.GetRoundedRealPoint(Cursor.Position);

      label1.Text = "Position: " + point.ToString();//print real position
      label2.Text = "Font Zoom: " + DisplayScreenTools.GetFontZoom + "%";//print Font Zoom percent
      label3.Text = "Screen DPI: " + DisplayScreenTools.GetScreenDpi;//print screen dpi

      panel1.BackColor = ScreenPixelColor.GetPixelColor(point);//pixel color from real cursor position
      pictureBox1.Image = Screenshot.TakeCenterSnapshot(point, pictureBox1.Size);//Get center screen shot
  }

NuGet package NuGet NuGet

PM> Install-Package YariControl.RealCursorPosition -Version 1.0.2.1

Created on .NET.Framework 3.0

YariControl.RealCursorPosition

Get the color / position from the screen with different zoom of the Font.
You can take real screen Font zoom or DPI.

Preview how it works

Font Zoom 100:
Font Zoom 100

Font Zoom 125:
Font Zoom 125

Font Zoom 150:
Font Zoom 150

Video:
https://youtu.be/Q4IPKKButEA

How it use

Example use:

using YariControl.RealCursorPosition;
  private Point point;
  
  private void timer1_Tick(object sender, EventArgs e)
  {
      point = DisplayScreenTools.GetRoundedRealPoint(Cursor.Position);

      label1.Text = "Position: " + point.ToString();//print real position
      label2.Text = "Font Zoom: " + DisplayScreenTools.GetFontZoom + "%";//print Font Zoom percent
      label3.Text = "Screen DPI: " + DisplayScreenTools.GetScreenDpi;//print screen dpi

      panel1.BackColor = ScreenPixelColor.GetPixelColor(point);//pixel color from real cursor position
      pictureBox1.Image = Screenshot.TakeCenterSnapshot(point, pictureBox1.Size);//Get center screen shot
  }

NuGet package NuGet NuGet

PM> Install-Package YariControl.RealCursorPosition -Version 1.0.2.1

Created on .NET.Framework 3.0

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2.2 394 2/22/2018
1.0.2.1 242 2/15/2018
1.0.2 304 2/11/2018