Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / GetActualColumnWidth Method / GetActualColumnWidth(Int32,Int32,SheetArea) Method
The column index.
The number of columns for which to get the width.
The sheet area.


In This Topic
    GetActualColumnWidth(Int32,Int32,SheetArea) Method
    In This Topic
    Gets the width in pixels for the specified range of columns in the specified sheet area.
    Syntax
    'Declaration
     
    Public Overloads Function GetActualColumnWidth( _
       ByVal column As Integer, _
       ByVal count As Integer, _
       ByVal sheetArea As SheetArea _
    ) As Double
    'Usage
     
    Dim instance As Worksheet
    Dim column As Integer
    Dim count As Integer
    Dim sheetArea As SheetArea
    Dim value As Double
     
    value = instance.GetActualColumnWidth(column, count, sheetArea)
    public double GetActualColumnWidth( 
       int column,
       int count,
       SheetArea sheetArea
    )

    Parameters

    column
    The column index.
    count
    The number of columns for which to get the width.
    sheetArea
    The sheet area.

    Return Value

    Returns the width of the column range in pixels.
    See Also