VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.Spreadsheet.Document Namespace / Worksheet Class / GetColumnsWidth(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetColumnsWidth(Int32,Int32) Method (Worksheet)
    In This Topic
    Returns the sum of cell widths.
    Syntax
    'Declaration
    
    Public Function GetColumnsWidth( _
    ByVal columnIndex
    The index of first cell.
    As System.Int32, _
    ByVal columnCount
    The column count.
    As System.Int32 _
    ) As Double
    public double GetColumnsWidth(
    System.Int32 columnIndex,
    System.Int32 columnCount
    )
    public: double GetColumnsWidth(
    System.Int32 columnIndex,
    System.Int32 columnCount
    )
    public:
    double GetColumnsWidth(
    System.Int32 columnIndex,
    System.Int32 columnCount
    )

    Parameters

    columnIndex
    The index of first cell.
    columnCount
    The column count.

    Return Value

    The sum of cell widths.
    Exceptions
    ExceptionDescription
    Thrown if columnIndex or columnCount is negative.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also