Click or drag to resize

PdfColorFactoryFromRgb Method (Double, Double, Double)

Create an Rgb 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 IPdfRgbColor FromRgb(
	double r,
	double g,
	double b
)

Parameters

r
Type: SystemDouble
The red channel. Value between 0.0 and 1.0
g
Type: SystemDouble
The green channel. Value between 0.0 and 1.0
b
Type: SystemDouble
The blue channel. Value between 0.0 and 1.0

Return Value

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