WgsExtensionsGetCurrentEnvelopePtvMercator Method |
Gets the bounding box of the visible map section while the map is in animation mode.
Namespace:
Ptv.XServer.Controls.Map.Tools
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static MapRectangle GetCurrentEnvelopePtvMercator(
this MapView mapView
)
<ExtensionAttribute>
Public Shared Function GetCurrentEnvelopePtvMercator (
mapView As MapView
) As MapRectangle
public:
[ExtensionAttribute]
static MapRectangle^ GetCurrentEnvelopePtvMercator(
MapView^ mapView
)
[<ExtensionAttribute>]
static member GetCurrentEnvelopePtvMercator :
mapView : MapView -> MapRectangle
Parameters
- mapView
- Type: Ptv.XServer.Controls.MapMapView
Map object containing the current map section.
Return Value
Type:
MapRectangle The rectangle for the current envelope.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MapView. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also