Table of Contents

Method getUserEntity

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

getUserEntity(out vdFigure, out gPoint, LockLayerMethodEnum)

Prompt the user to pick an entity from the active layout.

public StatusCode getUserEntity(out vdFigure retfig, out gPoint retpt, vdDocument.LockLayerMethodEnum locklayerMethod)

Parameters

retfig vdFigure

A vdFigure variable to return the figure that the user selected.

retpt gPoint

A gPoint variable to return the point in User Coordinate System that the user clicked.

locklayerMethod vdDocument.LockLayerMethodEnum

The method to be used in combination with active LockLayerMethod property value, to test if entities belonging in locked layers are accepted.

Returns

StatusCode

Returns a status code indicating the success of the action.

getUserEntity(out vdFigure, out gPoint)

Prompt the user to pick an entity from the active layout.

public StatusCode getUserEntity(out vdFigure retfig, out gPoint retpt)

Parameters

retfig vdFigure

A vdFigure variable to return the figure that the user selected.

retpt gPoint

A gPoint variable to return the point in User Coordinate System that the user clicked.

Returns

StatusCode

Returns a status code indicating the success of the action.

Remarks

Entities in locked layers are not returned if LockLayerMethod does not contain the value of EnableGetEntityFromPoint.