Sets a specific region/zoom as the default view for the display

Namespace: Ico.Ewx
Assembly: EwxLayer (in EwxLayer.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public void SetDefaultView(
	LatLong refLatLong,
	double refZoom,
	bool clipDisplay
)
Visual Basic
Public Sub SetDefaultView ( _
	refLatLong As LatLong, _
	refZoom As Double, _
	clipDisplay As Boolean _
)
JScript
public function SetDefaultView(
	refLatLong : LatLong, 
	refZoom : double, 
	clipDisplay : boolean
)

Parameters

refLatLong
Type: LatLong
Specifies the reference latitute/longitude coordinate for the default view
refZoom
Type: System..::..Double
Specifies the reference zoom for the default view
clipDisplay
Type: System..::..Boolean
Specifies if the display shoudld be clipped or not

Exceptions

ExceptionCondition
System..::..InvalidOperationException The EwxLayer should be part of a GraphWorX display to perform this operation

See Also