Class Utility
- Namespace
- VectorDraw.Professional.ActionUtility
- Assembly
- VectorDraw.Professional.dll
This Class contains usefull functions for user interaction.
public sealed class Utility : BaseObject, IDisposable, IBaseObject
- Inheritance
-
Utility
- Implements
- Inherited Members
Methods
- AddAcceptedStringValues(string[])
Adds string values to the accepted string values of the currently active user action.
- SetAcceptedStringValues(string[], object)
Sets string values to the accepted string values of the currently active user action.
- SetAcceptedStringValuesEx(StringArray, object)
Sets string values to the accepted string values of the currently active user action.
- StartUserMagnifier(vdDocument, int, int, int)
Starts a magnifier glass action.
- getUserActionEntity(ActionEntity)
Used to visualize a user action to create a user figure.
- getUserAngle(gPoint)
Gets an angle from the user in radians in current user coordinate system.
- getUserDist(gPoint)
Gets a distance from the user in drawing units in current user coordinate system.
- getUserDouble(out double)
Waits the user to give a double value.
- getUserDynamicRot()
Starts a dynamic rotate action so the user can rotate the active layout in 3D.
- getUserDynamicRotEx(bool)
Starts a dynamic rotate action so the user can rotate the active layout in 3D.
- getUserEntity(out vdFigure, out gPoint)
Prompt the user to pick an entity from the active layout.
- getUserEntity(out vdFigure, out gPoint, LockLayerMethodEnum)
Prompt the user to pick an entity from the active layout.
- getUserEntityIgnoreLockLayers(out vdFigure, out gPoint)
Prompt the user to pick an entity from the active layout.
- getUserEntityOneClick(out vdFigure, out gPoint, LockLayerMethodEnum, bool)
Prompt the user to pick an entity from the active layout.
- getUserEntityWithStringValues(out vdFigure, out gPoint, LockLayerMethodEnum)
Prompt the user to pick an entity from the active layout.
- getUserEntityWithStringValuesOneClick(out vdFigure, out gPoint, LockLayerMethodEnum, bool)
Prompt the user to pick an entity from the active layout.
- getUserInt(out int)
Waits the user to give an integer.
- getUserKeyValue()
Waits the user to press a key and returns the pressed key.
- getUserPan()
Start a pan action to the active layout.
- getUserPerigramViewCS(bool, bool)
Waits from the user to select a rubber polyline.
- getUserPoint()
Gets a point from the user in User Coordinate System.
- getUserPoint(out gPoint)
Gets a point from the user in User Coordinate System.
- getUserPointDCS(out gPoint)
Gets a gPoint from the user in View Coordinate System.
- getUserRect(gPoint)
Prompt the user to pick a point. A rubber rect is drawn from the reference point to the mouse position. A vector with 3 doubles is returnred, which represent rotation in User Coordinate System, width and height of the rectangle.
- getUserRect(gPoint, vdGdiPenStyle)
Prompt the user to pick a point. A rubber rect is drawn from the reference point to the mouse position.
- 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.
- getUserRectViewCS(gPoint, out Box)
Prompt the user to pick a point.A rubber rect is drawn from the reference point to the mouse position.
- getUserRefPoint(gPoint)
Gets a point from the user in User Coordinate System.
- getUserRefPoint(gPoint, out gPoint)
Gets a point from the user in User Coordinate System.
- getUserRefPointLine(gPoint)
Gets a point from the user in User Coordinate System by drawing a rubber vdLine with active document properties.
- getUserSelection()
Starts a select command so the user can pick entities.
- getUserSelection(vdSelection)
Starts a select command so the user can pick entities.
- getUserStartLassoSelection(bool, gPoint, out vdSelection, out gPoints)
Starts a Lasso selection command so the user can pick an area in order to select entities.
- getUserStartWindowSelection(bool, gPoint, out vdSelection, out Box)
Starts a window select command so the user can pick entities.
- getUserStartWindowSelection(Point, out vdSelection)
Starts a window select command so the user can pick entities.
- getUserStartWindowSelection(gPoint, out vdSelection)
Starts a window select command so the user can pick entities.
- getUserString()
Waits the user to type a string.
- getUserWalkThrough(double)
Enables the Walkthrough action of vdraw, where the users can navigate through the drawing by controlling the camera.