Click or drag to resize

PdfColorFactoryFromGray Method (Double, String)

Froms the gray.

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,
	string resourceName
)

Parameters

gray
Type: SystemDouble
The gray.
resourceName
Type: SystemString
Name of the color space resource to use to describe this color.

Return Value

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