InsertTableAtSelection Method
In This Topic
Inserts a table described by the parameters at the current cursor position.
Syntax
'Declaration
Public Sub InsertTableAtSelection( _
ByVal As System.String, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
ByVal As System.Boolean, _
Optional ByVal As System.String _
)
public void InsertTableAtSelection(
System.string ,
System.int ,
System.int ,
System.bool ,
System.bool ,
System.string
)
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