Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / InsertTableAtSelection Method
A css classname to use when constructing the table. If the classname is null, the default table css is used.
Specifies the number of columns in the table.
Specifies the number of rows in the table.
A bool specifying if the table should contain a header.
A bool specifying if the table should contain a footer.
Specifies a css style definition for the table. If null, then the classname css style is used. If both classname and cssTyleInfo are specified, the css class is defined.

In This Topic
    InsertTableAtSelection Method
    In This Topic
    Inserts a table described by the parameters at the current cursor position.
    Syntax
    'Declaration
     
    Public Sub InsertTableAtSelection( _
       ByVal className As System.String, _
       ByVal cols As System.Integer, _
       ByVal rows As System.Integer, _
       ByVal header As System.Boolean, _
       ByVal footer As System.Boolean, _
       Optional ByVal cssStyleInfo As System.String _
    ) 
    public void InsertTableAtSelection( 
       System.string className,
       System.int cols,
       System.int rows,
       System.bool header,
       System.bool footer,
       System.string cssStyleInfo
    )

    Parameters

    className
    A css classname to use when constructing the table. If the classname is null, the default table css is used.
    cols
    Specifies the number of columns in the table.
    rows
    Specifies the number of rows in the table.
    header
    A bool specifying if the table should contain a header.
    footer
    A bool specifying if the table should contain a footer.
    cssStyleInfo
    Specifies a css style definition for the table. If null, then the classname css style is used. If both classname and cssTyleInfo are specified, the css class is defined.
    See Also