Set gray value for a color.
Syntax

[C#]

void SetGray(double inGray);
void SetGray(double inGray, double inAlpha);

[Visual Basic]

Sub SetGray(inGray As Double)
Sub SetGray(inGray As Double, inAlpha As Double)
Params
Name Description
inGray A number from 0 to 255 corresponding to the gray intensity.
inAlpha A number from 0 to 255 corresponding to the level of opacity.
Notes

Allows you to set an grayscale color using only one call. An optional alpha value also allows you to set the opacity.

Example

None.