AppendRow Method

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

Applies to

IWPTextCursor

Declaration

bool AppendRow(string TableName, int FooterCount);

Description

This method will append a row to a table. It is the prefect tool to modify a calculated table in an invoice since it can reserve a variable count of rows at the bottom of the table as footer rows.

If operation was successful (result=true) the cursor will be positioned in the first cell of the new row.

Parameters

TableName

If specified the table with this name will be searched and extended.

 

If this name = "@@COPYTEXT@@" the last row of the current table will be duplicated including contained text.

FooterCount

Count of rows which should be used as footer table rows. The method will be inserted before the footer area.

 

The text in the row is not duplicated unless the mode DuplicateWithText has been activated using Memo.SetBProp(18,1);

Category

Table Support


[idh_iwptextcursor_appendrow.htm]    Copyright © 2007 by WPCubed GmbH