OverrideGraphicSettingsSetSurfaceTransparency Method |
Sets the projection surface transparency.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic OverrideGraphicSettings SetSurfaceTransparency(
int transparency
)
Public Function SetSurfaceTransparency (
transparency As Integer
) As OverrideGraphicSettings
public:
OverrideGraphicSettings^ SetSurfaceTransparency(
int transparency
)
member SetSurfaceTransparency :
transparency : int -> OverrideGraphicSettings
Parameters
- transparency Int32
-
Value of the transparency of the projection surface (0 = opaque, 100 = fully transparent).
Return Value
OverrideGraphicSettings
Reference to the changed object.
ExceptionsException | Condition |
---|
ArgumentException |
Transparency must be greater than 0 and less than 100.
|
See Also