DropTargetContext.GetDropLocation(Transaction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.