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


IGpSpRefObject.CreateFromFile Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpSpRefObject.CreateFromFile Method

Create the spatial reference from a projection file.

[Visual Basic .NET]
Public Sub CreateFromFile ( _
    ByVal prjFile As String _
)
[C#]
public void CreateFromFile (
    string prjFile
);
[C++]
HRESULT CreateFromFile(
  BSTR prjFile
);
[C++]

Parameters prjFile [in]
prjFile is a parameter of type BSTR

Product Availability

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

See Also

IGpSpRefObject Interface