DrawingView Class |
Namespace: RootPro.RootProCAD.UI
The DrawingView type exposes the following members.
| Name | Description | |
|---|---|---|
| DrawingView | Initializes a new instance of the DrawingView class |
| Name | Description | |
|---|---|---|
| ClientRectangle |
Gets the rectangle that represents the client area of the view.
| |
| ClientSize |
Gets the height and width of the client area of the view.
| |
| Document |
Get the document associated with the view.
(Inherited from TabView.) | |
| Drawing |
Get the paper or part associated with the view.
| |
| IsGestureStarted |
Gets a value that indicates whether a mouse gesture has been started.
| |
| IsInPlaceTextEditing |
Gets a value that indicates whether the text is being edited in the text input window.
| |
| IsMouseOver |
Gets a value indicating which of the mouse pointer is located over the view.
| |
| IsOleInPlaceActive |
Gets a value that indicates whether the OLE item is being edited in-place.
| |
| IsPanning |
Gets a value that indicates whether the view is in pan mode.
| |
| ModifierKeys |
Gets a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.
| |
| MouseButtons |
Gets a value indicating which of the mouse buttons is in a pressed state.
| |
| TabIndex |
Gets or sets the index of the tab.
(Inherited from TabView.) | |
| TabViewType |
Gets the view type in the tab.
(Inherited from TabView.) | |
| Text |
Get the tab text.
(Inherited from TabView.) | |
| ViewBottomLeftPoint |
Get the lower left coordinates of the currently displayed range in the world coordinate system.
| |
| ViewTopRightPoint |
Get the upper right coordinate of the currently displayed range in the world coordinate system.
| |
| WindowHandle |
Get the window handle of the view.
(Inherited from TabView.) | |
| ZoomScale |
Get display scale of the view.
|
| Name | Description | |
|---|---|---|
| Activate |
Activate the view.
(Inherited from TabView.) | |
| BeginPanning |
Start moving the view.
| |
| Close |
Close the view.
(Inherited from TabView.) | |
| EndPanning |
Finish moving the view.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Invalidate |
Invalidates the entire view.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnDrawTemporary |
Raise the DrawTemporary event.
| |
| OnMouseDoubleClick |
Raise the MouseDoubleClick event.
| |
| OnMouseDown |
Raise the MouseDown event.
| |
| OnMouseLeave |
Raise the MouseLeave event.
| |
| OnMouseMove |
Raise the MouseMove event.
| |
| OnMouseUp |
Raise the MouseUp event.
| |
| OnMouseWheel |
Raise the MouseWheel event.
| |
| PanView |
Move the view.
| |
| PointToClient |
Convert the coordinates from the screen coordinate system to the client coordinate system.
| |
| PointToScreen |
Convert the coordinates from the client coordinate system to the screen coordinate system.
| |
| ScrollTo |
Scroll the view so that the specified point appears at the center of the view.
| |
| ShowContextMenu |
Display context menu.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TransformPointClientToWorld |
Convert the coordinates from the client coordinate system to the world coordinate system.
| |
| TransformPointLocalToWorld |
Convert the coordinates from the local coordinate system of the specified layout to the world coordinate system.
| |
| TransformPointScreenToWorld |
Convert the coordinates from the screen coordinate system to the world coordinate system.
| |
| TransformPointsLocalToWorld |
Convert multiple coordinates from the local coordinate system of the specified layout to the world coordinate system.
| |
| TransformPointsWorldToLocal |
Convert multiple coordinates from the world coordinate system to the local coordinate system of the specified layout.
| |
| TransformPointWorldToClient |
Convert the coordinates from the world coordinate system to the client coordinate system.
| |
| TransformPointWorldToLocal |
Convert the coordinates from the world coordinate system to the local coordinate system of the specified layout.
| |
| TransformPointWorldToScreen |
Convert the coordinates from the world coordinate system to the screen coordinate system.
| |
| TransformShapeLocalToWorld |
Convert geometry from the local coordinate system of the specified layout to the world coordinate system.
| |
| TransformShapesLocalToWorld |
Convert multiple geometries from the local coordinate system of the specified layout to the world coordinate system.
| |
| TransformShapesWorldToLocal |
Convert multiple geometries from the world coordinate system to the local coordinate system of the specified layout.
| |
| TransformShapeWorldToLocal |
Convert geometry from the world coordinate system to the local coordinate system of the specified layout.
| |
| Update |
Redraw the entire view.
| |
| ZoomAll |
Zoom in or out the view so that all the shapes in the view are displayed.
| |
| ZoomIn |
Zoom in the view.
| |
| ZoomIn(Point, Double) |
Zoom in the view.
| |
| ZoomOut |
Zoom out the view.
| |
| ZoomOut(Point, Double) |
Zoom out the view.
| |
| ZoomPaper |
Zoom in or out the view so that all the shapes in the paper are displayed.
| |
| ZoomSelection |
Zoom in or out the view so that the selected shape is displayed.
| |
| ZoomWindow |
Enlarges or reduces the view so that it displays within the range of the specified two points.
|
| Name | Description | |
|---|---|---|
| DrawTemporary |
Occurs when performing a temporary draw on the view.
| |
| MouseDoubleClick |
Occurs when the drawing view is double clicked by the mouse.
| |
| MouseDown |
Occurs when a mouse button is pressed in the drawing view.
| |
| MouseLeave |
Occurs when the mouse pointer leaves the drawing view.
| |
| MouseMove |
Occurs when the mouse pointer is moved over the drawing view.
| |
| MouseUp |
Occurs when a mouse button is released in the drawing view.
| |
| MouseWheel |
Occurs when the mouse wheel moves over the drawing view.
|