|
Dew Math for .NET
|
Copy values subarray to datagrid subarray.
public static void ValuesToGrid(TMtx src, DataGrid grid, int gridrow, int gridcol, int srcrow, int srccol, int rowcount, int colcount, string format, bool headers);
|
Parameters |
Description |
|
src |
Source matrix. |
|
grid |
Destination datagrid. |
|
gridrow |
First populated row index. |
|
gridcol |
First populated column index. |
|
srcrow |
First matrix row to be copied. |
|
srccol |
First matrix column to be copied. |
|
rowcount |
Number of rows to be copied. |
|
colcount |
Number of columns to be copied. |
|
format |
Format for double to string conversion. |
|
headers |
If true, first datagrid row and column are index numbered. |
Copies (rowcount*colcount) matrix elements starting at [srcrow, srccol] of the src matrix using formatting format to datagrid cells[gridrow,gridcol] to [gridrow+rowcount,gridcol+colcount].
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 1999-2010 by Dew Research. All rights reserved.
|