CSVReadercolourValue Method

retrieve color data from line of csv-data. selection_ids contains indices of items to be converted to colors. Values non-existent in the table cause the default color to be returned.

Definition

Namespace: Karamba.Utilities
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public Color? colourValue(
	List<string> line,
	int selection_id,
	Color default_color
)

Parameters

line  ListString
list of strings that contains row items.
selection_id  Int32
indices of items to be converted to numbers.
default_color  Color
default color in case no color can be read.

Return Value

NullableColor
color of given index.

See Also