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


IQueryGeometry.GetGeometry Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IQ > IQueryGeometry Interface > IQueryGeometry.GetGeometry Method
ArcGIS Developer Help

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(
  OLE_HANDLE hDC,
  ITransformation* displayTransform,
  IGeometry* drawGeometry
);
[C++]
Parameters
hDC [in]

hDC is a parameter of type OLE_HANDLE displayTransform [in]
displayTransform is a parameter of type ITransformation* drawGeometry [in]
drawGeometry is a parameter of type IGeometry*

Product Availability

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

See Also

IQueryGeometry Interface