MapSetEnvelope 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
)
Public Sub SetEnvelope (
rectangle As MapRectangle,
spatialReferenceId As String
)
public:
virtual void SetEnvelope(
MapRectangle^ rectangle,
String^ spatialReferenceId
) sealed
abstract SetEnvelope :
rectangle : MapRectangle *
spatialReferenceId : string -> unit
override SetEnvelope :
rectangle : MapRectangle *
spatialReferenceId : string -> unit
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