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

IGPXYDomain.SetDomainFromExtent Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPXYDomain Interface > IGPXYDomain.SetDomainFromExtent Method
ArcGIS Developer Help

IGPXYDomain.SetDomainFromExtent Method

Set the xy domain from an extent.

[Visual Basic .NET]
Public Sub SetDomainFromExtent ( _
    ByVal pExtent As IEnvelope _
public void SetDomainFromExtent (
    IEnvelope pExtent
HRESULT SetDomainFromExtent(
  IEnvelope* pExtent
pExtent [in]

pExtent is a parameter of type IEnvelope*

Product Availability

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

See Also

IGPXYDomain Interface