Click or drag to resize

FormsMapSetEnvelope Method (MapRectangle, String)

Centers the map, so all elements within the specified rectangle are visible.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public void SetEnvelope(
	MapRectangle rectangle,
	string spatialReferenceId
)

Parameters

rectangle
Type: Ptv.XServer.Controls.MapMapRectangle
The rectangle containing coordinates specified in a coordinate format according the parameter value of spatialReferenceId.
spatialReferenceId
Type: SystemString
The spatial reference identifier.

Implements

IMapSetEnvelope(MapRectangle, String)
See Also