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


ISpatialReferenceFactory4.CreateFromAreaName Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

ISpatialReferenceFactory4.CreateFromAreaName Method

Creates a coordinate system from the human-readable 'area name' of the coordinate system.

[Visual Basic .NET]
Public Function CreateFromAreaName ( _
    ByVal areaName As String, _
    ByVal typeFilter As esriCoordinateSystemFilter _
) As ISpatialReferenceInfo
[C#]
public ISpatialReferenceInfo CreateFromAreaName (
    string areaName,
    esriCoordinateSystemFilter typeFilter
);
[C++]
HRESULT CreateFromAreaName(
  BSTR areaName,
  esriCoordinateSystemFilter typeFilter,
  ISpatialReferenceInfo** ppSRInfo
);
[C++]

Parameters areaName [in] areaName is a parameter of type BSTR typeFilter [in]
typeFilter is a parameter of type esriCoordinateSystemFilter ppSRInfo [out, retval]
ppSRInfo is a parameter of type ISpatialReferenceInfo

Product Availability

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

See Also

ISpatialReferenceFactory4 Interface