Picture Orientation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know how to tell (in vb.net) what the orientation of a graphics
file is (ie portrait or landscape)?

Thanks!

Dale
 
dkalsow said:
Does anyone know how to tell (in vb.net) what the orientation of a
graphics
file is (ie portrait or landscape)?


Mhm...

\\\
Dim Image As Image = Image.FromFile("C:\bla.bmp")
Dim IsLandscape As Boolean = (Image.Width > Image.Height)
Image.Dispose()
///
 
Mhm...

\\\
Dim Image As Image = Image.FromFile("C:\bla.bmp")
Dim IsLandscape As Boolean = (Image.Width > Image.Height)
Image.Dispose()
///

LOL

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top