Share

SurfaceDefinitionDEMFiles.AddDEMFile(String, Boolean, Double) Method

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



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

Syntax

C#

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

VB

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

C++

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

Parameters

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

Return Value

SurfaceOperationAddDEMFile

Exceptions

ExceptionCondition
ArgumentException Thrown when the DEM file is invalid.

See Also

Reference

Was this information helpful?