ArcGIS Developer Help  (Carto)    

IElement.Geometry Property

Shape of the element as a geometry.

[Visual Basic 6.0]
Property Geometry As IGeometry
[Visual Basic .NET]
Public Property Geometry As IGeometry
[C#]
public IGeometry Geometry {get; set;}
[Java]
public  getGeometry (
    IGeometry pGeometry
)
[Java]
public void setGeometry(
    IGeometry pGeometry
)
throws
    IOException,
    AutomationException
[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.

Remarks

The Geometry property will return the shape associated with the element as an IGeometry. The geometry returned will vary depending on the element type (a MarkerElement will return a point, etc.).  For TextElements the Geometry property will return the shape the text follows.

See Also

IElement Interface

 


Feedback Send feedback on this page