ESRI.ArcGIS.ADF.IMS
Extent Property
See Also 
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.

See Also

© 2010 All Rights Reserved.