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使用范例:
Powered by: 博客园 Copyright © 陈锐