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.

Introduced: X14.

GetUpdateRectangle(Bool)

public Rectangle GetUpdateRectangle(bool bValidate);
Public Function GetUpdateRectangle(ByVal bValidate As Boolean) As Rectangle

Parameters

Parameter Description
bValidate Validates the current update region and resets it to an empty rectangle.

Return Value

The return value specifies the smallest rectangle that completely encloses the current update region.