Balloon.SetAvoidRectangle(Int32, Int32, Int32, Int32) Method

Definition

Prevents the Office Assistant balloon from being displayed in a specified area of the screen.

public:
 void SetAvoidRectangle(int Left, int Top, int Right, int Bottom);
public void SetAvoidRectangle (int Left, int Top, int Right, int Bottom);
abstract member SetAvoidRectangle : int * int * int * int -> unit
Public Sub SetAvoidRectangle (Left As Integer, Top As Integer, Right As Integer, Bottom As Integer)

Parameters

Left
Int32

Required Integer. The coordinates (in points and relative to the screen) of the area of the screen that the Office Assistant balloon will avoid when it's displayed.

Top
Int32

Required Integer. The coordinates (in points and relative to the screen) of the area of the screen that the Office Assistant balloon will avoid when it's displayed.

Right
Int32

Required Integer. The coordinates (in points and relative to the screen) of the area of the screen that the Office Assistant balloon will avoid when it's displayed.

Bottom
Int32

Required Integer. The coordinates (in points and relative to the screen) of the area of the screen that the Office Assistant balloon will avoid when it's displayed.

Remarks

Some of the content in this topic may not be applicable to some languages.

This property returns a Assistant object.

This property is intended to prevent the Office Assistant balloon from overlapping custom dialog boxes and wizards.

Applies to