Gets or sets the gray level for this color.

Namespace: Spire.Pdf.ColorSpace
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public double Gray { get; set; }
Public Property Gray As Double
	Get
	Set
public:
property double Gray {
	double get ();
	void set (double value);
}
member Gray : float with get, set

Property Value

Double
The gray level of this color.

Remarks

The acceptable range for this value is [0.0 1.0]. 0.0 means the darkest color that can be achieved, and 1.0 means the lightest color.

See Also