Skip to content

ColorWithTransparency(UInt32, UInt32, UInt32, UInt32)

Public Constructor

color

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public ColorWithTransparency(
uint red,
uint green,
uint blue,
uint transparency
)

Parameters

redUInt32

red

greenUInt32

green

blueUInt32

blue

transparencyUInt32

transparency

Exceptions

Exception

Condition


ArgumentOutOfRangeException

The value is not valid. The valid range is 0 to 255.