VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor.Xlsx Namespace / XlsxDocumentSheet Class / SetColumnsStyleIndex(Int32,Int32,Nullable<Int32>) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetColumnsStyleIndex(Int32,Int32,Nullable<Int32>) Method (XlsxDocumentSheet)
    In This Topic
    Sets the style index of columns.
    Syntax
    'Declaration
    
    Public Sub SetColumnsStyleIndex( _
    ByVal columnIndex
    The index of first column to index.
    As System.Int32, _
    ByVal columnCount
    The count of columns to index.
    As System.Int32, _
    ByVal styleIndex
    The style index.
    As System.Nullable(Of Integer) _
    )
    public void SetColumnsStyleIndex(
    System.Int32 columnIndex,
    System.Int32 columnCount,
    System.Nullable<int> styleIndex
    )
    public: void SetColumnsStyleIndex(
    System.Int32 columnIndex,
    System.Int32 columnCount,
    System.Nullable<int> styleIndex
    )
    public:
    void SetColumnsStyleIndex(
    System.Int32 columnIndex,
    System.Int32 columnCount,
    System.Nullable<int> styleIndex
    )

    Parameters

    columnIndex
    The index of first column to index.
    columnCount
    The count of columns to index.
    styleIndex
    The style index.
    Exceptions
    ExceptionDescription
    Thrown if columnIndex or columnIndex+columnCount is less than zero -or- columnIndex or columnIndex+columnCount is equal to or greater 16383.
    Thrown if styleIndex is less than zero.
    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