sudarsanyes
sudarsanyes

Reputation: 3204

What is the relationship between ScaleTransform and Pixel

I am new to the concepts of pixels, dpi, resolution and stuffs. So let me put out this simple question for which I am finding hard to get a simple answer

Upvotes: 1

Views: 1224

Answers (1)

Nicolas Repiquet
Nicolas Repiquet

Reputation: 9265

That subjet is quite complex actually.

Unit

In WPF, all sizes are expressed in Device Independent Unit (DIU).

1 DIU = 1/96th of an inch. 1 DIU = 1 pixel on a 96 DPI display. 1 DIU = 2.083333 pixels on a 200 DPI display.

Scale and Zoom

You look confused here. A scale/zoom of 1.0 means 100%, 2.0 means 200%, 0.5 means 50%. There is not unit, it's a factor.

Upvotes: 1

Related Questions