Adds DEM file data to a surface with custom null elevation and coordinate system information.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public SurfaceOperationAddDEMFile AddDEMFile(
string filename,
string coordinateSystemCode,
bool useCustomNullElevation,
double customeNullElevation
) |
Visual Basic |
---|
Public Function AddDEMFile ( _
filename As String, _
coordinateSystemCode As String, _
useCustomNullElevation As Boolean, _
customeNullElevation As Double _
) As SurfaceOperationAddDEMFile |
Visual C++ |
---|
public:
SurfaceOperationAddDEMFile^ AddDEMFile(
String^ filename,
String^ coordinateSystemCode,
bool useCustomNullElevation,
double customeNullElevation
) |
Parameters
- filename
- Type: System..::..String
The name and path of an existing DEM file.
- coordinateSystemCode
- Type: System..::..String
The coordinate system code to transform the data in the DEM file. For a GridSurface, this parameter must be an empty string "".
- useCustomNullElevation
- Type: System..::..Boolean
Specifies whether use custom null elevation.
- customeNullElevation
- Type: System..::..Double
The value to use for null elevation.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The Dem file is invalid.
- The coordinateSystemCode is invalid.
|
System..::..InvalidOperationException |
Thrown when user specifies a coordinateSystemCode value other than "" for the GridSurface.
|
See Also