Click or drag to resize

PdfColorFactoryFromGray Method (Double)

Create a Grayscale color for use in Pdf

Namespace:  Atalasoft.PdfDoc.Generating
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static IPdfGrayColor FromGray(
	double gray
)

Parameters

gray
Type: SystemDouble
The gray color. Value between 0.0 (black) and 1.0 (white)

Return Value

Type: IPdfGrayColor
a new IPdfColor representing the desired color
See Also