Viewport.Project (Int32, Double, Double, Double, out Double, out Double, out Double) Method

Maps world coordinates to screen coordinates.
Public Function Project( _ 
ByVal controlHeight As Integer, _ 
ByVal objx As Double, _ 
ByVal objy As Double, _ 
ByVal objz As Double, _ 
ByRef winx As Double, _ 
ByRef winy As Double, _ 
ByRef winz As Double
) As Boolean
This language is not supported or no code example is available.
public bool Project( 
int controlHeight
double objx
double objy
double objz
out double winx
out double winy
out double winz 
)
This language is not supported or no code example is available.

Parameters

controlHeight
int

The height of the viewport layout control

objx
double

The world X coordinates

objy
double

The world Y coordinates

objz
double

The world Z coordinates

winx
double

The computed window X coordinates

winy
double

The computed window Y coordinates (0 on bottom of viewport)

winz
double

The computed window Z coordinates

Return Value

bool

True if the operation succeeded, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition