Click or drag to resize

PdfColorTryGetRgb Method

Gets the red, green and blue values of this PdfColor.

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntax
public bool TryGetRgb(
	out double red,
	out double green,
	out double blue
)

Parameters

red  Double
The red value in range from 0 to 1 or NaN.
green  Double
The green value in range from 0 to 1 or NaN.
blue  Double
The blue value in range from 0 to 1 or NaN.

Return Value

Boolean
if the color can be represented with red, green and blue values; otherwise, .
See Also