DesignSurfaceElementOperations::AddGhostShapesContext Method (IDataObject^, Diagram^, PointD)
Visual Studio 2015
Adds a GhostShapeCollection to the ElementGroupPrototype in the specified IDataObject.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: static void AddGhostShapesContext( IDataObject^ data, Diagram^ diagram, PointD initialDragLocation )
Parameters
- data
-
Type:
System.Windows.Forms::IDataObject^
The IDataObject that contains an ElementGroupPrototype to update.
- diagram
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::Diagram^
The source diagram.
- initialDragLocation
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::PointD
The initial location of the mouse in absolute world coordinates.
Show: