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
retfigvdFigureA vdFigure variable to return the figure that the user selected.
retptgPointA gPoint variable to return the point in User Coordinate System that the user clicked.
locklayerMethodvdDocument.LockLayerMethodEnumThe 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
retfigvdFigureA vdFigure variable to return the figure that the user selected.
retptgPointA 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.