IMapSetEnvelope 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 void SetEnvelope(
MapRectangle rectangle,
string spatialReferenceId
)
Sub SetEnvelope (
rectangle As MapRectangle,
spatialReferenceId As String
)
void SetEnvelope(
MapRectangle^ rectangle,
String^ spatialReferenceId
)
abstract 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.
See Also