Properties - all sizes are in twips
 xLeft - Position of the left edge of the table
 isCentered - Set to True to center the table
 Rows - Sets or returns the number of rows in the table
 Columns - Sets or returns the number of columns in the table
 Row - An Array of Rows (1 to Rows)
 Column - An Array of columns (1 to Columns)
  Column(i).xWidth - Width of the ith column
 Cell - A 2-d Array of Cells (1 to Rows, 1 to Columns)
  Cell(r, c).Contents - Sets or returns the contents of the cell

Methods
 InsertTable(RTB As RichTextBox) - Inserts the table into the RichTextBox
                         at the currrent cursor position.

代码下载地址:
http://www.applevb.com/RTFtable.zip

使用范例:

RichTextBox技巧之插入表格(转载)Option Explicit
RichTextBox技巧之插入表格(转载)
RichTextBox技巧之插入表格(转载)
Dim RTFtable As clsRTFtable
End Sub

相关文章:

  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2021-04-09
  • 2021-12-14
  • 2021-05-30
  • 2022-12-23
  • 2021-09-24
猜你喜欢
  • 2022-01-02
  • 2021-07-14
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-26
  • 2021-12-24
相关资源
相似解决方案