IOverhead.GetWorkbook Method

Gets the overhead workbook.
Function GetWorkbook() As IWorkbook
This language is not supported or no code example is available.
IWorkbook GetWorkbook()
This language is not supported or no code example is available.

Return Value

IWorkbook

The workbook.

Exception type Condition

QdvApiException

A problem occurred.

Remarks
 
You need to acquire a lock on the workbook with the GetLockOnWorkbook before you call this method. When you finish working on the workbook, you should call the ReleaseLockOnWorkbook method. You can only use this method with the current estimate version, with IEstimateVersion.Version set to 0.

To handle the worksheets in the workbook, use the IWorksheetManager interface that you can obtain from WorksheetManager property.

Sheets of type NativeSheetType.Template are very hidden in QDV. They are used by QDV internally when you create new sheets. You must NOT modify these sheets.

It is highly recommended that you don't write to sheets of any other type than NativeSheetType.User.

If you really want to add information to such sheets, please make sure that you write only:

If by mistake, you break the logic of such sheet, you can remove it (by removing the corresponding field of set of fields) and create it again. You'll get a fresh sheet derived from the hidden templates.

Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition