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


ISpatialReferenceFactory3.CreateVerticalCoordinateSystemFromESRISpatialReference Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

ISpatialReferenceFactory3.CreateVerticalCoordinateSystemFromESRISpatialReference Method

Creates a vertical coordinate system from its string format.

[Visual Basic .NET]
Public Function CreateVerticalCoordinateSystemFromESRISpatialReference ( _
    ByVal srInfo As String _
) As IVerticalCoordinateSystem
[C#]
public IVerticalCoordinateSystem CreateVerticalCoordinateSystemFromESRISpatialReference (
    string srInfo
);
[C++]
HRESULT CreateVerticalCoordinateSystemFromESRISpatialReference(
  BSTR srInfo,
  IVerticalCoordinateSystem** vcs
);
[C++]

Parameters srInfo srInfo is a parameter of type BSTR vcs [out, retval]
vcs is a parameter of type IVerticalCoordinateSystem

Product Availability

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

Description

Creates a vertical coordinate system object from the well-known text (WKT) version of a spatial reference. An example of a WKT string that contains geographic and vertical coordinate systems is below. The string is broken into several lines to make it easier to read.

GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",
SPHEROID["Clarke_1866",6378206.4,294.9786982]],
PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],
VERTCS["NAVD_1988",VDATUM["North_American_Vertical_Datum_1988"],
PARAMETER["Vertical_Shift",0.0],PARAMETER["Direction",1.0],
UNIT["Meter",1.0]]
 

See Also

ISpatialReferenceFactory3 Interface