IElement.Geometry Property
Shape of the element as a geometry.
[Visual Basic .NET]
Public Property Geometry As IGeometry
[C#]
public IGeometry Geometry {get; set;}
[C++]
HRESULT get_Geometry(
IGeometry** pGeometry
);
[C++]
HRESULT put_Geometry(
IGeometry* pGeometry
);
[C++]
Parameters
pGeometry [out, retval]
pGeometry is a parameter of type IGeometry**
pGeometry [in]
pGeometry is a parameter of type IGeometry*
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Geometry is the shape assigned to this element.
Remarks
The
Geometry property will return the shape associated with the element as an IGeometry.
The geometry type of objects implementing IElement varies widely depending on what the element does. The remarks of each object implementing IElement will list the geometry types that are valid for that specific element.
See Also
IElement Interface
.NET Samples
Move a graphic along a path in ArcMap Move a graphic along a path in ArcMap Move a graphic along a path in ArcMap Brushing to create a selection Create a custom tool Custom UI elements using add-ins Extent view Creating a toolbar of globe tools Creating a toolbar of globe tools Creating a toolbar of globe tools Creating a toolbar of globe tools Creating a toolbar of globe tools Geoevents in a MapControl 3D multipatch examples StreetMap routing Subset network evaluators Update a legend format with SymbologyControl area and line patches Triangle graphic element