Class FeatureExtentClass

Namespace
ESRI.ArcGIS.Carto
Assembly
ESRI.Server.Carto.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("E257B2F9-3F37-4EC2-BF16-BF7607569A72")]
public class FeatureExtentClass : FeatureExtent, IMapArea, IFeatureExtent, IXMLSerialize, IPersistStream, IPersist
Inheritance
FeatureExtentClass
Implements
Inherited Members

Constructors

FeatureExtentClass()

public FeatureExtentClass()

Explicit Interface Implementations

DefaultScale

Scale at which the extent of a single point is drawn.

virtual double DefaultScale { get; set; }

Returns

double

Remarks

Use DefaultScale to control the map scale when zooming to a single point feature. The DefaultScale value only affects conditions where a single point feature is selected. This value will be ignored when selecting multiple points or when selecting other feature types. If this value is not set and FeatureIDs is comprised of a single point feature, the new spatial extent may be too large.

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

ExpandRatio

Ratio used to expand the extent.

virtual double ExpandRatio { get; set; }

Returns

double

Remarks

Use ExpandRatio to add a "buffer" around the requested geographic extent. For example, an ExpandRatio value of 1.5 will expand the map extent by 1.5 times.ExpandRatio should be used to ensure that the set of features can be viewed easily. Otherwise, some features may be at the very edge of the displayed map extent. If the ExpandRatio is not set (the default value is 1) some of the selected features will be located at the very edge of the map image. A number greater than 1 will "zoom out", providing a spatial buffer around the selected features. A number less than 1 will "zoom in".

Extent

The geographic extent of the map.

virtual IEnvelope Extent { get; }

Returns

IEnvelope

FeatureIDs

The set of feature IDs.

virtual IFIDSet FeatureIDs { get; set; }

Returns

IFIDSet

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IPersist_GetClassID(out Guid)

virtual void IPersist_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IsDirty()

virtual void IsDirty()

LayerID

The ID of the layer.

virtual int LayerID { get; set; }

Returns

int

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

MapName

Name of the map (data frame).

virtual string MapName { get; set; }

Returns

string

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData