This document is archived and information here might be outdated.  Recommended version.


IQueryGeometry.GetGeometry Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IQueryGeometry.GetGeometry Method

Gets the actual geometry of the boundary of the object (which may or may not be a polygon).

[Visual Basic .NET]
Public Function GetGeometry ( _
    ByVal hDC As Integer, _
    ByVal displayTransform As ITransformation, _
    ByVal drawGeometry As IGeometry _
) As IGeometry
[C#]
public IGeometry GetGeometry (
    int hDC,
    ITransformation displayTransform,
    IGeometry drawGeometry
);
[C++]
HRESULT GetGeometry(
  long hDC,
  ITransformation* displayTransform,
  IGeometry* drawGeometry,
  IGeometry** outGeometry
);
[C++]

Parameters hDC [in] hDC is a parameter of type long displayTransform [in]
displayTransform is a parameter of type ITransformation drawGeometry [in]
drawGeometry is a parameter of type IGeometry outGeometry [out, retval]
outGeometry is a parameter of type IGeometry

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IQueryGeometry Interface