Table of Contents

Method getUserRectViewCS

Namespace
VectorDraw.Professional.ActionUtility
Assembly
VectorDraw.Professional.dll

getUserRectViewCS(gPoint, bool, out Box, out bool)

Prompt the user to pick a point.A rubber rect is drawn from the reference point to the mouse position.

public StatusCode getUserRectViewCS(gPoint reference, bool UseTransparentFill, out Box retrect, out bool isCrossing)

Parameters

reference gPoint

A reference point in View Coordinate System or null to prompt the user to pick a reference point.

UseTransparentFill bool

A value to draw or not transparency filled rectangle.SelectingCrossColor and SelectingWindowColor

retrect Box

A 2d Box object in View Coordinate system ,that the user selected.

isCrossing bool

Output a value that defines if the user select a rect in crossing mode (from right to left x) or in window mode (from left to right x).

Returns

StatusCode

Returns a status code indicating the success of the action.

getUserRectViewCS(gPoint, out Box)

Prompt the user to pick a point.A rubber rect is drawn from the reference point to the mouse position.

public StatusCode getUserRectViewCS(gPoint reference, out Box retrect)

Parameters

reference gPoint

A reference point in View Coordinate System.

retrect Box

A 2d Box object in View Coordinate system ,that the user selected.

Returns

StatusCode

Returns a status code indicating the success of the action.