DesignSurfaceElementOperations.AddGhostShapesContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a GhostShapeCollection to the ElementGroupPrototype in the specified IDataObject.
public:
static void AddGhostShapesContext(System::Windows::Forms::IDataObject ^ data, Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ diagram, Microsoft::VisualStudio::Modeling::Diagrams::PointD initialDragLocation);
public static void AddGhostShapesContext (System.Windows.Forms.IDataObject data, Microsoft.VisualStudio.Modeling.Diagrams.Diagram diagram, Microsoft.VisualStudio.Modeling.Diagrams.PointD initialDragLocation);
static member AddGhostShapesContext : System.Windows.Forms.IDataObject * Microsoft.VisualStudio.Modeling.Diagrams.Diagram * Microsoft.VisualStudio.Modeling.Diagrams.PointD -> unit
Public Shared Sub AddGhostShapesContext (data As IDataObject, diagram As Diagram, initialDragLocation As PointD)
Parameters
- data
- IDataObject
The IDataObject that contains an ElementGroupPrototype to update.
- diagram
- Diagram
The source diagram.
- initialDragLocation
- PointD
The initial location of the mouse in absolute world coordinates.