Gets the real world position in the current view from a screen position and size in pixels.
Visual Basic |
---|
Public Function GetViewPos( _
ByVal x As Integer, _
ByVal y As Integer, _
ByVal z As Integer, _
ByVal xPos As Integer, _
ByVal xPos As Integer, _
ByVal xSize As Integer, _
ByVal ySize As Integer, _
) As Integer
|
Available: GEO
Group:
Dim x, y, z
sis.GetViewPos (x, y, z, 150, 150, 300, 300)
Gets the real world coordinates for the centre point if the image is 300 pixels wide and 300 pixels high.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).