View.SetDepthCueing Method

ViewSetDepthCueing Method

Sets the depth cueing settings for the view.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SetDepthCueing(
	ViewDisplayDepthCueing depthCueing
)
Public Sub SetDepthCueing ( 
	depthCueing As ViewDisplayDepthCueing
)
public:
void SetDepthCueing(
	ViewDisplayDepthCueing^ depthCueing
)
member SetDepthCueing : 
        depthCueing : ViewDisplayDepthCueing -> unit 

Parameters

depthCueing  ViewDisplayDepthCueing
Depth cueing settings to set.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
InvalidOperationException This view does not contain display-related properties. -or- This view cannot use Depth Cueing
See Also