| SeparateLine Method | |
| See Also Example |
- RowNum
- The row number of the matrix or the grid.
- color
- The color of the separation line.
- separateLineType
The type of the separation line.
Note:
The SeparateLine feature and the MergeCell feature cannot be used in the same row.
For the rows that use the MergeCell feature, you can separate them by drawing a bottom separation line in the row above and drawing a top separation line in the row below.
- bDraw
- Indicates whether to draw a separation line.
The separation line between two rows.
| Visual Basic |
|---|
Public Sub SeparateLine( _
ByVal RowNum As Long, _
ByVal color As Long, _
ByVal separateLineType As BoSeparateLineType, _
Optional ByVal bDraw As Boolean = True _
) |
- RowNum
- The row number of the matrix or the grid.
- color
- The color of the separation line.
- separateLineType
Value Description slt_Top The separation line is at the top of a row. slt_Bottom The separation line is at the bottom of a row. The type of the separation line.
Note:
The SeparateLine feature and the MergeCell feature cannot be used in the same row.
For the rows that use the MergeCell feature, you can separate them by drawing a bottom separation line in the row above and drawing a top separation line in the row below.
- bDraw
- Indicates whether to draw a separation line.
| Creating a Separate Line in a Matrix (C#) | Copy Code | |
|---|---|---|
| ||