Interface IPRJSpatialReference

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to members that control the import/export operations components of a spatial reference system. IPRJSpatialReference is same as IPRJSpatialReferenceGEN.

[Guid("0C6D4B10-A38F-48EB-80EB-A3B86CC248DC")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IPRJSpatialReference

Properties

PRJSpatialReferenceSize

The number of bytes required to hold the persistant representation of the spatial reference.

int PRJSpatialReferenceSize { get; }

Property Value

int

Methods

ExportSpatialReferenceToPRJ(out string, out int)

Exports the spatial reference to a buffer.

void ExportSpatialReferenceToPRJ(out string str, out int cBytesWrote)

Parameters

str string
cBytesWrote int

ImportSpatialReferenceFromPRJ(string, out int)

Defines the spatial reference from the specified ESRISpatialReference buffer.

void ImportSpatialReferenceFromPRJ(string str, out int cBytesRead)

Parameters

str string
cBytesRead int

Remarks

Not implemented for the GeographicCoordinateSystem or ProjectedCoordinateSystem coclasses. Use the ISpatialReferenceFactory:CreateESRISpatialReferenceFromPRJ method instead.