Rebar.addOnAutoSize

Overview | Methods | This Package | All Packages

Rebar.addOnAutoSize

Assigns a delegate to the autoSize event.

Syntax

public void addOnAutoSize( AutoSizeEventHandler handler )

Parameters

handler

The AutoSizeEventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the autoSize event to that method in the Properties window. The autoSize event occurs when the rebar automatically resizes itself in response to a change in the size or position of the bands it contains. The autoSize event occurs only if the autoSize property for the rebar band is set to true.

See Also   removeOnAutoSize