TableClear Method

[Top]  [Chapter]  [Previous]  [Next]

Initialize a table.

Applies to

IWPTextCursor

Declaration

procedure TableClear(KeepHeader: Integer; KeepFooter: Integer; KeepBody: Integer; KeepProtected: WordBool; KeepFields: WordBool; KeepColsLeft: Integer; KeepColsRight: Integer);

Description

Versatile function to initialize the current table. It can delete not required table body rows, clear required body rows but protect header and footer rows.

Parameters

KeepHeader

Count of header rows which should not be cleared.

KeepFooter

Count of footer rows which should not be cleared.

KeepBody

Count of body rows which should not be deleted.

KeepProtected

If true the cells which are protected will be not modified.

KeepFields

If true fields will not be deleted.

KeepColsLeft

Number of columns to the left which will not be modified.

KeepColsRight

Number of columns to the right which will not be modified.

Category

Table Support


[idh_iwptextcursor_tableclear.htm]    Copyright © 2007 by WPCubed GmbH