Returns the coordinates of the smallest rectangle that completely encloses the update region. When the document's visible part changes, a Changed event occurs and the changed part is added to the view's update region. The bValidate parameter can be used to reset the current update region to an empty rectangle. When the document's visible part changes because the document has been scrolled, the Changed event informs about the changed part, but it is not added to the update region.
[C#] public Rectangle GetUpdateRectangle(bool bValidate);
[Visual Basic] Public Function GetUpdateRectangle(ByVal bValidate As Boolean) As Rectangle
Validates the current update region and resets it to an empty rectangle.
The return value specifies the smallest rectangle that completely encloses the current update region.