IWbsFieldsRepository.RepaintWbsWithChanges Method

Repaints the WBS workbook with all changes that were made from the last call to this method. Call this method after you done all changes. You may also call slower IEstimate.CheckAndRepaint method instead.
Sub RepaintWbsWithChanges()
This language is not supported or no code example is available.
void RepaintWbsWithChanges()
This language is not supported or no code example is available.
Remarks
 

The repository keeps track of all changes made with AddField, DeleteField and UpdateField methods. This method repaints just modified columns and resets the scheduled changes. Thus, it is a faster alternative to IEstimate.CheckAndRepaint method which could be quite slow.

However, the RepaintWbsWithChanges doesn't work if you programmatically change the position of an existing field with UpdateField. In such a case, you will need to call slower IEstimate.CheckAndRepaint method.

On the other hand, if you set the position of a new field and then you add this field with AddField, the RepaintWbsWithChanges will work fine.

Version
 
Available since QDV 7.18.655.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition