ESRI.ArcGIS.ADF.IMS
Extent Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > DataFrame Class : Extent Property




Gets the current extent of the dataframe.

Syntax

Visual Basic (Declaration) 
Public Property Extent As Envelope
Visual Basic (Usage)Copy Code
Dim instance As DataFrame
Dim value As Envelope
 
instance.Extent = value
 
value = instance.Extent
C# 
public Envelope Extent {get; set;}

Example

For an example of setting the extent of the DataFrame, see the DataFrame overview.

Remarks

The extent of the data frame can be set before generating a layout file. Each data frame within a layout may have a different extent. If changing the extent, be sure to use coordinates in the spatial reference of the DataFrame, or set the SpatialReference of the extent.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.