[]
Gets the RGB Color associated with the specified key (in a PDF an RGB Color should be represented as an array of 3 floats).
Gets defValue
if the value does not exist or cannot be converted to a Color.
public static Color GetDeviceRGBColor(this IPdfDict dict, PdfName key, Color defValue)
Public Shared Function GetDeviceRGBColor(dict As IPdfDict, key As PdfName, defValue As Color) As Color
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key of the value to get. |
Color | defValue | The default value. |
Type | Description |
---|---|
Color | The value associated with the specified key. |