This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IQ > IQueryGeometry Interface > IQueryGeometry.QueryEnvelope Method (ArcObjects .NET 10.4 SDK) |
Queries the envelope of the boundary of the object.
[Visual Basic .NET] Public Sub QueryEnvelope ( _ ByVal hDC As Integer, _ ByVal displayTransform As ITransformation, _ ByVal drawGeometry As IGeometry, _ ByVal envelope As IEnvelope _ )
[C#] public void QueryEnvelope ( int hDC, ITransformation displayTransform, IGeometry drawGeometry, IEnvelope envelope );
[C++]
HRESULT QueryEnvelope(
long hDC,
ITransformation* displayTransform,
IGeometry* drawGeometry,
IEnvelope* envelope
);
[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 envelope [in]
envelope is a parameter of type IEnvelope
You must instantiate the Envelope before calling QueryEnvelope. For example,
Dim pEnv as IEnvelope
Set pEnv=New Envelope