|
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
)
Public Function colourValue (
line As List(Of String),
selection_id As Integer,
default_color As Color
) As Nullable(Of 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>
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:
NullableColorcolor of given index
See Also