Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / RowColumnActionsCommand Class / ChangeDefaultColumnWidth Method
The worksheet which this command attached to.
new value that default column width changed to.


In This Topic
    ChangeDefaultColumnWidth Method
    In This Topic
    Creates RowColumnActionsCommand command that change default column width of specified worksheet.
    Syntax
    'Declaration
     
    
    Public Shared Function ChangeDefaultColumnWidth( _
       ByVal worksheet As IWorksheet, _
       ByVal columnWidth As Integer _
    ) As RowColumnActionsCommand
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim columnWidth As Integer
    Dim value As RowColumnActionsCommand
     
    value = RowColumnActionsCommand.ChangeDefaultColumnWidth(worksheet, columnWidth)
    public static RowColumnActionsCommand ChangeDefaultColumnWidth( 
       IWorksheet worksheet,
       int columnWidth
    )

    Parameters

    worksheet
    The worksheet which this command attached to.
    columnWidth
    new value that default column width changed to.
    See Also