Creates a Grayscale color based on gray level

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public PdfColor(
	float gray
)
Visual Basic
Public Sub New ( 
	gray As Single
)
Visual C++
public:
PdfColor(
	float gray
)

Parameters

gray
Type: System..::..Single
A value between 0 and 1 to specify the gray level

See Also