Line2d.ProjectVertical Method

Computes the y position on a line for a given x. If the line is vertical, y parameter is not changed, and the function returns false.
Public Function ProjectVertical( _ 
ByVal x As Double, _ 
ByRef y As Double
) As Boolean
This language is not supported or no code example is available.
public bool ProjectVertical( 
double x
ref double y 
)
This language is not supported or no code example is available.
public:  
bool ProjectVertical( 
double x
double& y 
)
This language is not supported or no code example is available.
public function ProjectVertical( 
x : double
y : double 
) : boolean;
This language is not supported or no code example is available.

Parameters

x
double

The x to compute for.

y
double

Y position on line or unchanged if the line is vertical.

Return Value

bool

true if a new y value could be computed, otherwise false (which means the line is vertical)

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition