ArcGIS Explorer Component Help |
Viewpoint Constructor (Envelope, Double) |
Viewpoint Class See Also |
Initializes a new instance of the Viewpoint class using an envelope and rotation.
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, double rotation ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ envelope As Envelope, _ rotation As Double _ ) |
Parameters
- envelope
- Type: ESRI.ArcGISExplorer.Geometry..::.Envelope
An Envelope object representing the spatial extent of the Viewpoint in 2D display mode.
- rotation
- Type: System..::.Double
A double representing the rotation of the specified envelope, in decimal degrees.
Remarks
Use this constructor to store a spatial extent with rotation 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.
Once the Viewpoint has been instantiated, the rotation property cannot be modified.