MapLayer.GetPositionOffset Method (DependencyObject)
Retrieves the offset of a layer from the position calculated by the map projection, in pixels.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public static Point GetPositionOffset(
DependencyObject dependencyObject
)
public:
static Point GetPositionOffset(
DependencyObject^ dependencyObject
)
static member GetPositionOffset :
dependencyObject:DependencyObject -> Point
Public Shared Function GetPositionOffset (
dependencyObject As DependencyObject
) As Point
Parameters
dependencyObject
Type: System.Windows.DependencyObjectThe dependency fieldt
Return Value
Type: System.Windows.Point
Returns Point.
See Also
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top