RectHelper.GetRight(Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a "Right" value for the specified Rect. So long as the Rect is not the Empty Rect, "Right" is evaluated as X + Width. C# and Microsoft Visual Basic code should use Rect.Right instead.
public:
static float GetRight(Rect target);
static float GetRight(Rect const& target);
public static float GetRight(Rect target);
function getRight(target)
Public Shared Function GetRight (target As Rect) As Single
Parameters
Returns
Single
float
The evaluated "Right" value.