Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / LayoutManager Class / GetDistance(Int32,Int32,Double,Boolean) Method
The first row/column.
Theh second row/column.
The scaling factor.
true to get distance between 2 rows; otherwise, false.


In This Topic
    GetDistance(Int32,Int32,Double,Boolean) Method
    In This Topic
    Gets the distance between 2 rows or columns.
    Syntax
    'Declaration
     
    
    Public Function GetDistance( _
       ByVal index As Integer, _
       ByVal index2 As Integer, _
       ByVal scale As Double, _
       ByVal isRow As Boolean _
    ) As Double
    'Usage
     
    
    Dim instance As LayoutManager
    Dim index As Integer
    Dim index2 As Integer
    Dim scale As Double
    Dim isRow As Boolean
    Dim value As Double
     
    value = instance.GetDistance(index, index2, scale, isRow)
    public double GetDistance( 
       int index,
       int index2,
       double scale,
       bool isRow
    )

    Parameters

    index
    The first row/column.
    index2
    Theh second row/column.
    scale
    The scaling factor.
    isRow
    true to get distance between 2 rows; otherwise, false.
    See Also