Share

OverrideGraphicSettings.SetSurfaceTransparency Method

Sets the projection surface transparency.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public OverrideGraphicSettings SetSurfaceTransparency(
	int transparency
)

Parameters

transparency  Int32
Value of the transparency of the projection surface (0 = opaque, 100 = fully transparent).

Return Value

OverrideGraphicSettings
Reference to the changed object.

Exceptions

ExceptionCondition
ArgumentException Transparency must be greater than 0 and less than 100.

See Also

Reference

Was this information helpful?