G Guest Sep 13, 2005 #1 Does anyone know how to tell (in vb.net) what the orientation of a graphics file is (ie portrait or landscape)? Thanks! Dale
Does anyone know how to tell (in vb.net) what the orientation of a graphics file is (ie portrait or landscape)? Thanks! Dale
H Herfried K. Wagner [MVP] Sep 13, 2005 #2 dkalsow said: Does anyone know how to tell (in vb.net) what the orientation of a graphics file is (ie portrait or landscape)? Click to expand... Mhm... \\\ Dim Image As Image = Image.FromFile("C:\bla.bmp") Dim IsLandscape As Boolean = (Image.Width > Image.Height) Image.Dispose() ///
dkalsow said: Does anyone know how to tell (in vb.net) what the orientation of a graphics file is (ie portrait or landscape)? Click to expand... Mhm... \\\ Dim Image As Image = Image.FromFile("C:\bla.bmp") Dim IsLandscape As Boolean = (Image.Width > Image.Height) Image.Dispose() ///
C Cor Ligthert [MVP] Sep 13, 2005 #3 Mhm... \\\ Dim Image As Image = Image.FromFile("C:\bla.bmp") Dim IsLandscape As Boolean = (Image.Width > Image.Height) Image.Dispose() /// Click to expand... LOL Cor
Mhm... \\\ Dim Image As Image = Image.FromFile("C:\bla.bmp") Dim IsLandscape As Boolean = (Image.Width > Image.Height) Image.Dispose() /// Click to expand... LOL Cor