ShapeCanvasGetLocation Method |
Retrieves the location of a certain shape element.
Namespace:
Ptv.XServer.Controls.Map.Layers.Shapes
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static Point GetLocation(
UIElement element
)
Public Shared Function GetLocation (
element As UIElement
) As Point
public:
static Point GetLocation(
UIElement^ element
)
static member GetLocation :
element : UIElement -> Point
Parameters
- element
- Type: System.WindowsUIElement
The element of which the location should be retrieved.
Return Value
Type:
Point The shape element location as a point. Returns a Point with zeroed coordinates if none was set.
See Also