다음을 통해 공유


UnplacedShapesContext.SetUnplacedShapesContext Method

Definition

Adds the unplaced shape context information to the specified transaction for later use.

public:
 static void SetUnplacedShapesContext(Microsoft::VisualStudio::Modeling::Transaction ^ transaction, Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ targetDiagram, System::Collections::IDictionary ^ unplacedShapeMap);
public static void SetUnplacedShapesContext (Microsoft.VisualStudio.Modeling.Transaction transaction, Microsoft.VisualStudio.Modeling.Diagrams.Diagram targetDiagram, System.Collections.IDictionary unplacedShapeMap);
static member SetUnplacedShapesContext : Microsoft.VisualStudio.Modeling.Transaction * Microsoft.VisualStudio.Modeling.Diagrams.Diagram * System.Collections.IDictionary -> unit
Public Shared Sub SetUnplacedShapesContext (transaction As Transaction, targetDiagram As Diagram, unplacedShapeMap As IDictionary)

Parameters

transaction
Transaction

The transaction in which to save the unplaced shape context.

targetDiagram
Diagram

The diagram with the unplaced shapes.

unplacedShapeMap
IDictionary

A collection of shapes that need to be placed. The dictionary maps (unplaced shapes) ShapeElements to a bool which indicates if the unplaced shape was created during view fixup.

Applies to