Click or drag to resize

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.

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Nullable<Color> colourValue(
	List<string> line,
	int selection_id,
	Color default_color
)

Parameters

line
Type: System.Collections.GenericListString
list of strings that contains row items
selection_id
Type: SystemInt32
indices of items to be converted to numbers
default_color
Type: System.DrawingColor
default color in case no color can be read

Return Value

Type: NullableColor
color of given index
See Also