DesignSurfaceElementOperations::MergeElementGroupPrototype Method (ModelElement^, ElementGroupPrototype^, PointF)

 

Merges the source ElementGroupPrototype with the specified target ModelElement.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
void MergeElementGroupPrototype(
	ModelElement^ targetElement,
	ElementGroupPrototype^ elementGroupPrototype,
	PointF mergePosition
)

Parameters

targetElement
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The target element which will serve as the parent of the reconstituted elements.

elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling::ElementGroupPrototype^

The source ElementGroupPrototype.

mergePosition
Type: System.Drawing::PointF

The merge position in absolute world coordinates.

Return to top
Show: