Posts
Showing posts from September, 2010
Windows Magnification API .NET
- Get link
- X
- Other Apps
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgodScwNXKFAhTybH3zdcUpLpLiMj-DZJRHbEcZXvxcONqOS7n9Y3MSpFaxrj0KkO81W5YsPa0BnG9lvhCCsYSi6DFhn1mGICo6zSiNjJvrHbdDYNAYzqY_ugyvE4hhEwGNhGH4/s400/Magnifier.png)
The Magnification API provides assistive technology vendors with the means for developing screen magnification applications for Windows Vista and later operating systems.The API enables you to display a simple control that magnifies a specified portion of the display by a specified factor. Images as well as text are displayed. Unfortunately, Microsoft provided only native C++ API functions without .NET equivalent, so I decided to make a simple .NET wrapper in C#. The full C# source code is available for download: http://users.telenet.be/serhiy.perevoznyk/download/Magnification.zip The magnification class is based on native Windows API calls. Here is a small excerpt from the library sources: using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace Karna.Magnification { internal static class NativeMethods { public const string WC_MAGNIFIER = "Magnifier"; [DllImport("user32.dll...