TXTextControl.ServerVisualization.View.GetUpdateRectangle Method

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: 24.0.

Syntax

[C#]
public Rectangle GetUpdateRectangle(bool bValidate);
[Visual Basic]
Public Function GetUpdateRectangle(ByVal bValidate As Boolean) As Rectangle
Member 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.

See Also