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


IGpSpRefObject2.CreateFromFileEx Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpSpRefObject2 Interface > IGpSpRefObject2.CreateFromFileEx Method
ArcGIS Developer Help

IGpSpRefObject2.CreateFromFileEx Method

Create the spatial reference from a projection file or from coordinate system name and its vertical coordinate system name.

[Visual Basic .NET]
Public Sub CreateFromFileEx ( _
    ByVal prjFile As String, _
    ByVal vcsVar As Object _
)
[C#]
public void CreateFromFileEx (
    string prjFile,
    object vcsVar
);
[C++]
HRESULT CreateFromFileEx(
  BSTR prjFile,
  VARIANT vcsVar
);
[C++]
Parameters
prjFile [in]

prjFile is a parameter of type BSTR vcsVar [in]
vcsVar is a parameter of type VARIANT

Product Availability

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

See Also

IGpSpRefObject2 Interface