Skip to content

Override DPI for WinUI Unpackaged Applications using Detours.NET

License

Notifications You must be signed in to change notification settings

airtaxi/DetoursCustomDPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DetoursCustomDPI

NuGet version (DetoursCustomDPI)

Introduction

Override DPI for WinUI Unpackaged Applications using Detours.NET

Supported Architectures

  • x86
  • x64
  • ARM64

Usage

using DetoursCustomDPI;

// Must be called before InitializeComponent()
// After calling this method, the DPI of the application will be set to the specified value
// At this time, the DPI can't be changed dynamically after the application starts
public App()
{
	DetoursCustomDPI.Handler.OverrideDefaltDpi(192f); // 200% DPI
	InitializeComponent();
	// ...
	// ...
}

Developer

이호원 (Howon Lee) a.k.a hoyo321 or kck4156, airtaxi

License

MIT License

About

Override DPI for WinUI Unpackaged Applications using Detours.NET

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages