Creates a new
PdfColor structure in
DeviceRGB color space by using the specified
red,
green and
blue values.
Namespace: SautinSoft.Pdf.ContentAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntaxpublic static PdfColor FromRgb(
double red,
double green,
double blue
)
Public Shared Function FromRgb (
red As Double,
green As Double,
blue As Double
) As PdfColor
Parameters
- red Double
- The red value in range from 0 to 1.
- green Double
- The green value in range from 0 to 1.
- blue Double
- The blue value in range from 0 to 1.
Return Value
PdfColor
A new
PdfColor structure in
DeviceRGB color space created by using the specified
red,
green and
blue values.
Exceptions
See Also