Click or drag to resize

PdfColorFactoryFromColor Method (Color, String)

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 FromColor(
	Color color,
	string resourceName
)

Parameters

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

Return Value

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