Gets the
red,
green and
blue values of this
PdfColor.
Namespace: SautinSoft.Pdf.ContentAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.5
Syntaxpublic bool TryGetRgb(
out double red,
out double green,
out double blue
)
Public Function TryGetRgb (
<OutAttribute> ByRef red As Double,
<OutAttribute> ByRef green As Double,
<OutAttribute> ByRef blue As Double
) As Boolean
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