In This Topic
Gets the RGB
System.Drawing.Color associated with the specified key (in a PDF an RGB
System.Drawing.Color should be represented as an array of 3 floats).
Gets if the value does not exist or cannot be converted to a System.Drawing.Color.
Adds a warning to
GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value cannot be converted to a
System.Drawing.Color.
Syntax
'Declaration
Public Shared Function GetDeviceRGBColor( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByVal As System.Drawing.Color _
) As System.Drawing.Color
public static System.Drawing.Color GetDeviceRGBColor(
IPdfDict ,
PdfName ,
System.Drawing.Color
)
Parameters
- dict
- The current dictionary.
- key
- The key of the value to get.
- defValue
- The default value.
Return Value
The value associated with the specified key.
See Also