IOverhead.DeleteRowsInOverheadSheet Method

Deletes the specified rows from an overhead sheet.
Sub DeleteRowsInOverheadSheet( _ 
ByVal rowsToDelete As IRange
)
This language is not supported or no code example is available.
void DeleteRowsInOverheadSheet( 
IRange rowsToDelete 
)
This language is not supported or no code example is available.

Parameters

rowsToDelete
IRange

The range containing the rows to be deleted in an overhead sheet. It doesn't matter which columns it contains, only the rows are important. This range must belong to some overhead sheet.

Exception type Condition

QdvApiException

A problem occurred.

ArgumentNullException

The rowsToDelete argument is null reference (Nothing in Visual Basic).

ArgumentException

The rowsToDelete is not valid (row cannot be deleted, doesn't belong to any overhead sheet, etc.).

Remarks
 
Deleting rows in an overhead sheet may be a complex operation. This method takes care of all related tasks. For example, it checks whether the row in Currencies sheet doesn't store the currency of the estimate. Such row cannot be deleted. Additionally, the outline levels are adjusted after deletion, duplicate list box sheets are handled, etc.
Version
 
Available since QDV 7.22.958.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition