ArcObjects Library Reference (DefenseSolutions)  

GeoPolylineElement CoClass

The graphic element for displaying GeoPolylines.

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IBoundsProperties (esriCarto) Provides access to members that control Bounds Properties.
IClone (esriSystem) Provides access to members that control cloning of objects.
IElement (esriCarto) Provides access to members that control the Element.
IElementProperties (esriCarto) Provides access to members that control the Element Properties.
IElementProperties2 (esriCarto) Provides access to members that control More Element Properties.
IGeoPolylineElement Indicator interface that identifies a GeoPolyline.
IGraphicElement (esriCarto) Provides access to members that control the Graphic Element object.
ILineElement (esriCarto) Provides access to members that control the Line element.
IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream (esriSystem)
IPropertySupport (esriSystem) Provides access to members that set a default property on an object.
ITransform2D (esriGeometry) Provides access to methods for transforming geometries using either specific parameters or arbitrary transformation objects (affine transformations, geographic transformations, etc.).

Remarks

A GeoPolylineElement is a type of element that supports GeoPolylines.  Use this object when you want to create and manipulate GeoPolyline graphics on the map. It is a dynamic element, in the sense that its shape updates automatically when it is moved from one location to another.

The following VB snippet illustrates how to create a GeoPolylineElement.

Dim pGeoPolyline As IGeoPolyline
Dim pLineElement As IElement
Set pGeoPolyline = New GeoPolyline
Set pLineElement = New GeoPolylineElement
pLineElement.Geometry = pGeoPolyline