Initializes a new instance of the Viewpoint class using an envelope.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public Viewpoint( Envelope envelope ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ envelope As Envelope _ ) |
Parameters
- envelope
- Type: ESRI.ArcGISExplorer.Geometry..::.Envelope
An Envelope object representing the spatial extent of the Viewpoint in 2D display mode.
Remarks
Use this constructor to store a spatial extent, or bookmark, in 2D display mode. Once you have created a Viewpoint in
this way it is possible to modify the extent using the Envelope
property. The Observer and
Target properties will always return nullNothingnullptra null reference (Nothing in Visual Basic) for 2D viewpoints.
The Rotation property will always return zero when using this constructor.
If rotation is required please use the appropriate overloaded constructor.