UnplacedShapesContext.SetUnplacedShapesContext Method

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

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


Public Shared Sub SetUnplacedShapesContext ( _
    transaction As Transaction, _
    targetDiagram As Diagram, _
    unplacedShapeMap As IDictionary _
public static void SetUnplacedShapesContext(
    Transaction transaction,
    Diagram targetDiagram,
    IDictionary unplacedShapeMap
static void SetUnplacedShapesContext(
    Transaction^ transaction, 
    Diagram^ targetDiagram, 
    IDictionary^ unplacedShapeMap
static member SetUnplacedShapesContext : 
        transaction:Transaction * 
        targetDiagram:Diagram * 
        unplacedShapeMap:IDictionary -> unit
public static function SetUnplacedShapesContext(
    transaction : Transaction, 
    targetDiagram : Diagram, 
    unplacedShapeMap : IDictionary


  • unplacedShapeMap
    Type: 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.

.NET Framework Security

See Also


UnplacedShapesContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace