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(
  OLE_HANDLE hDC,
  ITransformation* displayTransform,
  IGeometry* drawGeometry,
  IGeometry** outGeometry
);
[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

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