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.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public Color? colourValue(
List<string> line,
int selection_id,
Color default_color
)
Public Function colourValue (
line As List(Of String),
selection_id As Integer,
default_color As Color
) As Color?
public:
Nullable<Color> colourValue(
List<String^>^ line,
int selection_id,
Color default_color
)
member colourValue :
line : List<string> *
selection_id : int *
default_color : Color -> Nullable<Color>
- 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.
NullableColorcolor of given index.