TXTextControl.Drawing.TXDrawingControl.AdaptBounds Event

Indicates that the visible bounds of the displayed shapes have been changed (by changing the shape's angle, outline width, yellow adjust rectangles or the control's border width) in so far that the control requires an update of its bounds. The event always raises if the visible bounds exceed the control's bounds. If IsCanvasVisible is false, AdaptBounds is also raised if considering changes lead to a decreasing of the visible shape bounds. The event handler receives an argument of type EventArgs containing data related to this event.

Syntax

[C#]
public event EventHandler AdaptBounds;
[Visual Basic]
Public Event AdaptBounds As EventHandler

See Also