[]
Tries to get the RGB Color associated with the specified key (in a PDF an RGB Color should be represented as an array of 3 floats).
Adds a warning to GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value exists but cannot be converted to Color.
public static bool TryGetDeviceRGBColor(this IPdfDict dict, PdfName key, out Color value)
Public Shared Function TryGetDeviceRGBColor(dict As IPdfDict, key As PdfName, ByRef value As Color) As Boolean
Type | Name | Description |
---|---|---|
IPdfDict | dict | The current dictionary. |
PdfName | key | The key of the value to get. |
Color | value | OUT: the value associated with the specified key. |