This document is archived and information here might be outdated. Recommended version. |
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(
OLE_HANDLE hDC,
ITransformation* displayTransform,
IGeometry* drawGeometry,
IEnvelope* envelope
);
[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* 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