Dela via


ITextDocument.ApplyDisplayUpdates Method

Definition

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

Int32

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.

Applies to

See also