Lock Windows 10 text scale on Windows App

Hello! This is my first post!

I’m developing a Windows 10 app, and I wonder if it is possible to lock the Scale factor from Screen Settings. Currently I’m working with a resolution of 1920x1080, and a scale factor of 150%. I would like to lock it to 100% somehow inside my Windows App, by CSS or some kind of meta tag?

Is there any way? Thank you

I solved it, or at least somehow, by using font-size and “vw” (viewport) property. For example: font-size: 1.5vw

Windows 10 scale factor make believe the application is using a lower res, so this font-size property maintain the aspect ration between 100% and 150% scale. It workerd better than using a font-size an a percentage