Delen via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Sub SetUnplacedShapesContext ( _
    transaction As Transaction, _
    targetDiagram As Diagram, _
    unplacedShapeMap As IDictionary _
)
public static void SetUnplacedShapesContext(
    Transaction transaction,
    Diagram targetDiagram,
    IDictionary unplacedShapeMap
)
public:
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
)

Parameters

  • 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.

.NET Framework Security

See Also

Reference

UnplacedShapesContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace