Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void ValuesToStrings(tStrings *dstList, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const bool Headers = false, const int ColumnWidth = - 1) const; | Converts the content of the matrix Values array to a list of strings. |
| 2 | void ValuesToStrings(tStrings *dstList, const int ListIndex, const int Row, const int Col, const int RowCount, const int ColCount, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const bool Headers = false, const int ColumnWidth = - 1) const; | Convert calling matrix elements, starting with [Row,Col] and up to [Row+RowCount-1,Col+ColCount-1] elements to strings. |
| 3 | void ValuesToStrings(DewArray<DewString> &aList, const DewString &Delimiter = kTab) const; | |
| 4 | void ValuesToStrings(DewArray<DewString> &aList, const int ListIndex, const int Row, const int Col, const int RowCount, const int ColCount, const DewString &Delimiter = kTab) const; |
Overload 1: void ValuesToStrings(tStrings *dstList, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const bool Headers = false, const int ColumnWidth = - 1) const;
Converts the content of the matrix Values array to a list of strings.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | dstList | tStrings * | |
| 2 | Delimiter = kTab | const DewString & | |
| 3 | Align = TFixedTextAlign::ftaNone | const TFixedTextAlign | |
| 4 | Headers = false | const bool | |
| 5 | ColumnWidth = - 1 | const int |
Convert all elements of the calling matrix to strings with text delimiter Delimiter and store them in aList, by using the Add method of TStrings object. Set Align to have columns aligned left or right when using fixed width font (like Courier New). Specifiy Headers to be "true", if row and column labels are to be printed.
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, const int ListIndex, const int Row, const int Col, const int RowCount, const int ColCount, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const bool Headers = false, const int ColumnWidth = - 1) const;
Convert calling matrix elements, starting with [Row,Col] and up to [Row+RowCount-1,Col+ColCount-1] elements to strings.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | dstList | tStrings * | |
| 2 | ListIndex | const int | |
| 3 | Row | const int | |
| 4 | Col | const int | |
| 5 | RowCount | const int | |
| 6 | ColCount | const int | |
| 7 | Delimiter = kTab | const DewString & | |
| 8 | Align = TFixedTextAlign::ftaNone | const TFixedTextAlign | |
| 9 | Headers = false | const bool | |
| 10 | ColumnWidth = - 1 | const int |
Use text Delimiter for columns and store the resulting strings in aList starting at ListIndex. If aList is not large enough, the method will use the Add method of aList object. Existing items will be overwritten. Set Align to have columns aligned left or right when using fixed width font (like Courier New). Specifiy Headers to be "true", if row and column labels are to be printed.
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 3: void ValuesToStrings(DewArray<DewString> &aList, const DewString &Delimiter = kTab) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | DewArray<DewString> & | |
| 2 | Delimiter = kTab | const DewString & |
Overload 4: void ValuesToStrings(DewArray<DewString> &aList, const int ListIndex, const int Row, const int Col, const int RowCount, const int ColCount, const DewString &Delimiter = kTab) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | DewArray<DewString> & | |
| 2 | ListIndex | const int | |
| 3 | Row | const int | |
| 4 | Col | const int | |
| 5 | RowCount | const int | |
| 6 | ColCount | const int | |
| 7 | Delimiter = kTab | const DewString & |