DropTargetContext.GetDropLocation(Transaction) Method

Definition

Gets the drop location from the specified transaction.

public:
 static Microsoft::VisualStudio::Modeling::Diagrams::PointD GetDropLocation(Microsoft::VisualStudio::Modeling::Transaction ^ transaction);
public static Microsoft.VisualStudio.Modeling.Diagrams.PointD GetDropLocation (Microsoft.VisualStudio.Modeling.Transaction transaction);
static member GetDropLocation : Microsoft.VisualStudio.Modeling.Transaction -> Microsoft.VisualStudio.Modeling.Diagrams.PointD
Public Shared Function GetDropLocation (transaction As Transaction) As PointD

Parameters

transaction
Transaction

The transaction to check for the drop target context.

Returns

The drop location in absolute world coordinates.

Remarks

The drop location returned is the value saved to the specified transaction by an earlier call to the static method AddDropTargetContext.

Applies to