I'm new here so take easy with me!
It can be easy or complex, but I'm looking for a way to get the Height and Width of a DrawingView.
My intention is, if height of DV is bigger than width, I'll rotate to landscape, else, I let in portrait.
Thanks for any help!
DrawingView has a Range method. Have you tried using it.
Dim x1 As Double, y1 As Double, x2 As Double, y2 As Double
oView.Range(x1, y1, x2, y2)
This gives the size of the view in drawing units.
Thank you very much for your reply!
This solution was exactly what I want.
Thanks again man!