DetoursCustomDPI 1.0.3

dotnet add package DetoursCustomDPI --version 1.0.3                
NuGet\Install-Package DetoursCustomDPI -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DetoursCustomDPI" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DetoursCustomDPI --version 1.0.3                
#r "nuget: DetoursCustomDPI, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DetoursCustomDPI as a Cake Addin
#addin nuget:?package=DetoursCustomDPI&version=1.0.3

// Install DetoursCustomDPI as a Cake Tool
#tool nuget:?package=DetoursCustomDPI&version=1.0.3                

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

Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0-windows10.0.19041

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 143 7/20/2024
1.0.2 94 7/10/2024
1.0.1 80 7/9/2024
1.0.0 88 7/9/2024