AddDEMFile Method (String, Boolean, Double)

Adds DEM file data to a surface with custom null elevation information.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0

Syntax

C#

public SurfaceOperationAddDEMFile AddDEMFile(
	string filename,
	bool useCustomNullElevation,
	double customeNullElevation
)

Visual Basic

Public Function AddDEMFile ( _
	filename As String, _
	useCustomNullElevation As Boolean, _
	customeNullElevation As Double _
) As SurfaceOperationAddDEMFile

Visual C++

public:
SurfaceOperationAddDEMFile^ AddDEMFile(
	String^ filename, 
	bool useCustomNullElevation, 
	double customeNullElevation
)

Parameters

filename
Type: System.String
The name and path of an existing DEM file.
useCustomNullElevation
Type: System.Boolean
Specifies whether use a custom null elevation.
customeNullElevation
Type: System.Double
The value to use for null elevation.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the DEM file is invalid.

See Also