FeatureExtent
Base Type: MapArea
A class that defines an extent using a set of selected features.
Property |
Type |
Description |
---|---|---|
DefaultScale |
double |
The scale at which the extent of a single point is drawn. |
ExpandRatio |
double |
The ratio used to expand the extent. 1.0 is the same extent. Greater than 1 increases the height and width of the extent (zoom out). Less than 1 decreases the height and width of the extent (zoom in). |
FeatureIDs |
int[] |
The set of feature IDs. |
LayerID |
int |
The ID of the layer which contains the feature IDs in the FeatureIDs property. |
MapName |
string |
The name of the map (data frame) which contains the layer associated with the LayerID property. |
Remarks
The properties MapName, LayerID and FeatureIDs must be set. The ExpandRatio and DefaultScale properties are both optional. If some of the selected features are near the edge of the extent, use the ExpandRatio properties to widen the display extent. The DefaultScale property is only used when a single feature is selected. It defines the map scale to zoom to when generating a map image.