다음을 통해 공유


DesignSurfaceElementOperations.MergeElementGroupPrototype Method

Definition

Overloads

MergeElementGroupPrototype(ModelElement, ElementGroupPrototype)
MergeElementGroupPrototype(ModelElement, ElementGroupPrototype, PointF)

Merges the source ElementGroupPrototype with the specified target ModelElement.

MergeElementGroupPrototype(ModelElement, ElementGroupPrototype)

public:
 override void MergeElementGroupPrototype(Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement, Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public override void MergeElementGroupPrototype (Microsoft.VisualStudio.Modeling.ModelElement targetElement, Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
override this.MergeElementGroupPrototype : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> unit
Public Overrides Sub MergeElementGroupPrototype (targetElement As ModelElement, elementGroupPrototype As ElementGroupPrototype)

Parameters

targetElement
ModelElement
elementGroupPrototype
ElementGroupPrototype

Applies to

MergeElementGroupPrototype(ModelElement, ElementGroupPrototype, PointF)

Merges the source ElementGroupPrototype with the specified target ModelElement.

public:
 void MergeElementGroupPrototype(Microsoft::VisualStudio::Modeling::ModelElement ^ targetElement, Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype, System::Drawing::PointF mergePosition);
public void MergeElementGroupPrototype (Microsoft.VisualStudio.Modeling.ModelElement targetElement, Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype, System.Drawing.PointF mergePosition);
override this.MergeElementGroupPrototype : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.ElementGroupPrototype * System.Drawing.PointF -> unit
Public Sub MergeElementGroupPrototype (targetElement As ModelElement, elementGroupPrototype As ElementGroupPrototype, mergePosition As PointF)

Parameters

targetElement
ModelElement

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

elementGroupPrototype
ElementGroupPrototype

The source ElementGroupPrototype.

mergePosition
PointF

The merge position in absolute world coordinates.

Applies to