Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
doing drawings on WPF but the unit are in pixels and the problem is i need to draw in inches or mm. i know i can whrite the number followed by the unit ( "2 in") but i need to do it by another way.

What I have tried:

number followed by the unit but it is harder in you work witn integer and coding
Posted
Updated 31-Jan-19 18:20pm

1 solution

You're thinking of DPI (and should be thinking of scaling).

DPI - Windows 10 hardware dev[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900