CwClearSelectionRectangle

Syntax:

call CwClearSelectionRectangle

Description:

This procedure removes the current selection rectangle (if it exists) in the selected view.

The selection rectangle is the rectangle normally created by clicking and dragging on a view window. It is used to select objects, define their initial size or outline a group. It can be set by via the user interface, or by calling CwSetSelectionRectangle.

Example:

call CwSetSelectionRectangle 5, 5, 10, 10
s = CwGetSelectionRectangle(rect2)

say s rect2.x rect2.y rect2.width rect2.height     -> 1 5.0 5.0 10.0 10.0


call CwClearSelectionRectangle
s = CwGetSelectionRectangle(rect2)

say s rect2.x rect2.y rect2.width rect2.height     -> 0 0.0 0.0 0.0 0.0


Functions by NAME

Index

Functions by PURPOSE