Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / BorderLayoutEngine Class / GetBorderLayout Method
The cell rectangle bound.
A value indicate the worksheet.
A value indicate the borders index.


In This Topic
GetBorderLayout Method
In This Topic
Get the layout of the border at the specify cell of worksheet.
Syntax
'Declaration
 
Public Function GetBorderLayout( _
   ByVal rectangle As Rect, _
   ByVal worksheet As Worksheet, _
   ByVal startRow As Integer, _
   ByVal startCol As Integer, _
   ByVal endRow As Integer, _
   ByVal endCol As Integer, _
   ByVal bordersIndex As BordersIndex, _
   ByVal isRightToLeft As Boolean, _
   ByVal minCompositeBorderRow As Integer, _
   ByVal minCompositeBorderColumn As Integer, _
   ByVal maxCompositBorderRow As Integer, _
   ByVal maxCompositeBorderColumn As Integer, _
   ByVal dpiX As Single, _
   ByVal dpiY As Single, _
   ByVal tag As Object _
) As CellBorderData
 
'Usage
 
Dim instance As BorderLayoutEngine
Dim rectangle As Rect
Dim worksheet As Worksheet
Dim startRow As Integer
Dim startCol As Integer
Dim endRow As Integer
Dim endCol As Integer
Dim bordersIndex As BordersIndex
Dim isRightToLeft As Boolean
Dim minCompositeBorderRow As Integer
Dim minCompositeBorderColumn As Integer
Dim maxCompositBorderRow As Integer
Dim maxCompositeBorderColumn As Integer
Dim dpiX As Single
Dim dpiY As Single
Dim tag As Object
Dim value As CellBorderData
 
value = instance.GetBorderLayout(rectangle, worksheet, startRow, startCol, endRow, endCol, bordersIndex, isRightToLeft, minCompositeBorderRow, minCompositeBorderColumn, maxCompositBorderRow, maxCompositeBorderColumn, dpiX, dpiY, tag)

Parameters

rectangle
The cell rectangle bound.
worksheet
A value indicate the worksheet.
startRow
startCol
endRow
endCol
bordersIndex
A value indicate the borders index.
isRightToLeft
minCompositeBorderRow
minCompositeBorderColumn
maxCompositBorderRow
maxCompositeBorderColumn
dpiX
dpiY
tag
See Also