[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Spec.IPdfDictExt.SetDeviceRGBColor

SetDeviceRGBColor Method

SetDeviceRGBColor(IPdfDict, PdfName, Color?, Color?)

Sets the RGB Color value associated with the specified key (in a PDF an RGB Color should be represented as an array of 3 floats).

Declaration
public static void SetDeviceRGBColor(this IPdfDict dict, PdfName key, Color? value, Color? defValue)
Public Shared Sub SetDeviceRGBColor(dict As IPdfDict, key As PdfName, value As Color?, defValue As Color?)
Parameters
Type Name Description
IPdfDict dict

The current dictionary.

PdfName key

The key of the value to set.

Color? value

The value to set.

Color? defValue

The default value.