DiagramPointEventArgs Constructor (Int32, Int32, PointRelativeTo, DiagramClientView)
Initializes a new instance of the DiagramPointEventArgs class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
‘선언
Public Sub New ( _
x As Integer, _
y As Integer, _
pointRelativeTo As PointRelativeTo, _
diagramClientView As DiagramClientView _
)
public DiagramPointEventArgs(
int x,
int y,
PointRelativeTo pointRelativeTo,
DiagramClientView diagramClientView
)
public:
DiagramPointEventArgs(
int x,
int y,
PointRelativeTo pointRelativeTo,
DiagramClientView^ diagramClientView
)
new :
x:int *
y:int *
pointRelativeTo:PointRelativeTo *
diagramClientView:DiagramClientView -> DiagramPointEventArgs
public function DiagramPointEventArgs(
x : int,
y : int,
pointRelativeTo : PointRelativeTo,
diagramClientView : DiagramClientView
)
Parameters
- x
Type: System.Int32
horizontal mouse position in device units
- y
Type: System.Int32
vertical mouse position in device units
- pointRelativeTo
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointRelativeTo
Indicates the point of reference from which the coordinates are relative.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The DiagramClientView that the DiagramPointEventArgs originated from.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.