Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / IExcelXml Interface / ExcelSetColInfo Method
Sheet index
First column index
Last column index
Style identifier index
Width
Whether column is hidden
Outline level
Whether collapsed
Whether need to extend


In This Topic
    ExcelSetColInfo Method (IExcelXml)
    In This Topic
    Sets the Excel XML column information.
    Syntax
    'Declaration
     
    
    Function ExcelSetColInfo( _
       ByVal sheet As Short, _
       ByVal colFirst As Integer, _
       ByVal colLast As Integer, _
       ByVal styleId As Integer, _
       ByVal width As Double, _
       ByVal hidden As Boolean, _
       ByVal outlineLevel As Byte, _
       ByVal collapsed As Boolean, _
       ByVal needExtend As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As IExcelXml
    Dim sheet As Short
    Dim colFirst As Integer
    Dim colLast As Integer
    Dim styleId As Integer
    Dim width As Double
    Dim hidden As Boolean
    Dim outlineLevel As Byte
    Dim collapsed As Boolean
    Dim needExtend As Boolean
    Dim value As Boolean
     
    value = instance.ExcelSetColInfo(sheet, colFirst, colLast, styleId, width, hidden, outlineLevel, collapsed, needExtend)

    Parameters

    sheet
    Sheet index
    colFirst
    First column index
    colLast
    Last column index
    styleId
    Style identifier index
    width
    Width
    hidden
    Whether column is hidden
    outlineLevel
    Outline level
    collapsed
    Whether collapsed
    needExtend
    Whether need to extend
    See Also