Gets an coordinate system by an code string.
Namespace: Autodesk.Civil.Settings
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static SettingsCoordinateSystem GetCoordinateSystemByCode( string code )
VB
Public Shared Function GetCoordinateSystemByCode ( code As String ) As SettingsCoordinateSystem
C++
public: static SettingsCoordinateSystem^ GetCoordinateSystemByCode( String^ code )
Parameters
- code String
Return Value
SettingsCoordinateSystemExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the code is not a valid coordinate system code that means new code is not contained in the return array of method GetALLCode(). |
ArgumentException | Thrown when the code is not a valid coordinate system code that means new code is not contained in the return array of method GetALLCode(). |