ITextDocument.ApplyDisplayUpdates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Decrements an internal counter that controls whether text updates are displayed immediately or batched.
public:
int ApplyDisplayUpdates();
int ApplyDisplayUpdates();
public int ApplyDisplayUpdates();
function applyDisplayUpdates()
Public Function ApplyDisplayUpdates () As Integer
Returns
int
The value of the internal counter.
Remarks
If the internal counter goes to zero, text updates are displayed immediately instead of batched.
This method cannot decrement the internal counter below zero, and no error occurs if it is called when the counter is already zero.
To increment the internal counter, call the ITextDocument.BatchDisplayUpdates method.
Note
If undo grouping is on (see ITextDocument.BeginUndoGroup), screen updating is suppressed regardless of the internal counter's value.