This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpSpRefObject2 Interface > IGpSpRefObject2.CreateFromFileEx Method (ArcObjects .NET 10.5 SDK) |
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