UnplacedShapesContext::SetUnplacedShapesContext Method (Transaction^, Diagram^, IDictionary^)
Visual Studio 2015
Adds the unplaced shape context information to the specified transaction for later use.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: static void SetUnplacedShapesContext( Transaction^ transaction, Diagram^ targetDiagram, IDictionary^ unplacedShapeMap )
Parameters
- transaction
-
Type:
Microsoft.VisualStudio.Modeling::Transaction^
The transaction in which to save the unplaced shape context.
- targetDiagram
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::Diagram^
The diagram with the unplaced shapes.
- unplacedShapeMap
-
Type:
System.Collections::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.
Show: