Gets the position in the current view from a screen position and size in pixels, as a comma-separated string.
Visual Basic |
---|
Public Function GetViewPosEx( _
ByVal xPos As Integer, _
ByVal xPos As Integer, _
ByVal xSize As Integer, _
ByVal ySize As Integer, _
) As Integer
|
A comma-separated string containing the x, y and z coordinates of the position. Use SplitPos to get the x, y and z values themselves.
Available: GEO
Group:
Dim ret
sis.GetViewPosEx (50, 50, 300, 300)
Gets the real world coordinates for the centre point if the image is 300 pixels wide and 300 pixels high. The variable ret will contain a comma delimited string in the format x, y, z.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).