Admin Production ni-theme
Current Publication

RectSetRight

LabWindows/CVI

RectSetRight

void RectSetRight (Rect *rectangle, int right);

Purpose

Sets the width of a Rect structure so that the right edge of the rectangle it defines is at the specified location.

The right edge of the rectangle is not enclosed by the rectangle and is equal to the left edge plus the width.

Parameters

Input
Name Type Description
right int X-coordinate of the new right edge.
Output
Name Type Description
rectangle Rect On input, the size and location of a rectangle.

On output, the same rectangle except with a different right edge.

Return Value

None.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later