Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get image Height and Width

Tags:

c#

image

wpf

resize

I am displaying an image which if small, will fill the size of the control area. I want to display the actual original width and height of the image.

How can I do that?

like image 210
Jake Avatar asked Jan 23 '23 08:01

Jake


1 Answers

ImageSource.Width and ImageSource.Height

like image 194
Thomas Levesque Avatar answered Jan 25 '23 21:01

Thomas Levesque