Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void ValuesToStrings(tStrings *dstList, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const bool Headers = false, const int ColumnWidth = - 1) const; | Converts the content of the Values array of the calling vector to a list of strings. |
| 2 | void ValuesToStrings(tStrings *dstList, int ListIndex, int Index, int Len, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const bool Headers = false, const int ColumnWidth = - 1) const; | Convert elements from Index to Index+Len-1 of the calling vector to strings. |
| 3 | void ValuesToStrings(DewArray<DewString> &aList) const; | |
| 4 | void ValuesToStrings(DewArray<DewString> &aList, const int ListIndex, const int Index, const int Len) const; |
Overload 1: void ValuesToStrings(tStrings *dstList, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const bool Headers = false, const int ColumnWidth = - 1) const;
Converts the content of the Values array of the calling vector to a list of strings.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | dstList | tStrings * | |
| 2 | Align = TFixedTextAlign::ftaNone | const TFixedTextAlign | |
| 3 | Headers = false | const bool | |
| 4 | ColumnWidth = - 1 | const int |
Converts all elements of the calling vector to strings with specified formating and stores them in dstList, by using the Add method of TStrings object. Values are appended to existing content of dstList. Set Equidistant to True, if you are using fixed width font and need to have the text right aligned.
Performance note:
This routine will be exceedingly slow, if TRichEdit.Lines or TMemo.Lines are passed as a parameter for dstList. Use TStringList or StringList types and then call TMemo.Lines.AddStrings(yourList) for best results.
Overload 2: void ValuesToStrings(tStrings *dstList, int ListIndex, int Index, int Len, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const bool Headers = false, const int ColumnWidth = - 1) const;
Convert elements from Index to Index+Len-1 of the calling vector to strings.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | dstList | tStrings * | |
| 2 | ListIndex | int | |
| 3 | Index | int | |
| 4 | Len | int | |
| 5 | Align = TFixedTextAlign::ftaNone | const TFixedTextAlign | |
| 6 | Headers = false | const bool | |
| 7 | ColumnWidth = - 1 | const int |
Store values in dstList starting at ListIndex. If dstList is not large enough, the method will use the add method of dstList object. Set Equidistant to True, if you are using fixed width font and need to have the text right aligned.
Overload 3: void ValuesToStrings(DewArray<DewString> &aList) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | DewArray<DewString> & |
Overload 4: void ValuesToStrings(DewArray<DewString> &aList, const int ListIndex, const int Index, const int Len) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | DewArray<DewString> & | |
| 2 | ListIndex | const int | |
| 3 | Index | const int | |
| 4 | Len | const int |