For smart Primates & ROBOTS (oh and ALIENS ).

Blogroll

Friday, September 19, 2014

Get height width of image in C#

Get height width of image in C#


You can simply get image's height width in C# with only one line of code:
the code is :

int h = System.Drawing.Image.FromFile("ImageNameWithPath").Height;
int w = System.Drawing.Image.FromFile("ImageNameWithPath").Width;
Share:

0 comments:

Post a Comment

Multiple attribute passing in querySelectorAll

Multiple attribute passing in querySelectorAll     Here I am demonstrating code to how to pass multiple attributes in querySelectorAll. <...

Ads Inside Post

Powered by Blogger.

Arsip

Blog Archive