Share via


RectHelper.GetLeft(Rect) Method

Definition

Gets a "Left" value for the specified Rect. So long as the Rect is not the Empty Rect, "Left" is evaluated as X. C# and Microsoft Visual Basic code should use Rect.Left instead.

public:
 static float GetLeft(Rect target);
 static float GetLeft(Rect const& target);
public static float GetLeft(Rect target);
function getLeft(target)
Public Shared Function GetLeft (target As Rect) As Single

Parameters

target
Rect

The Rect to evaluate.

Returns

Single

float

The evaluated "Left" value.

Applies to