This topic has not yet been rated - Rate this topic

Region.IsVisible Method

Tests whether the specified rectangle is contained within this Region object.

Overload List

Tests whether the specified Point structure is contained within this Region object.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function IsVisible(Point) As Boolean
[C#] public bool IsVisible(Point);
[C++] public: bool IsVisible(Point);
[JScript] public function IsVisible(Point) : Boolean;

Tests whether the specified PointF structure is contained within this Region object.

[Visual Basic] Overloads Public Function IsVisible(PointF) As Boolean
[C#] public bool IsVisible(PointF);
[C++] public: bool IsVisible(PointF);
[JScript] public function IsVisible(PointF) : Boolean;

Tests whether any portion of the specified Rectangle structure is contained within this Region object.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function IsVisible(Rectangle) As Boolean
[C#] public bool IsVisible(Rectangle);
[C++] public: bool IsVisible(Rectangle);
[JScript] public function IsVisible(Rectangle) : Boolean;

Tests whether any portion of the specified RectangleF structure is contained within this Region object.

[Visual Basic] Overloads Public Function IsVisible(RectangleF) As Boolean
[C#] public bool IsVisible(RectangleF);
[C++] public: bool IsVisible(RectangleF);
[JScript] public function IsVisible(RectangleF) : Boolean;

Tests whether the specified Point structure is contained within this Region object when drawn using the specified Graphics object.

[Visual Basic] Overloads Public Function IsVisible(Point, Graphics) As Boolean
[C#] public bool IsVisible(Point, Graphics);
[C++] public: bool IsVisible(Point, Graphics*);
[JScript] public function IsVisible(Point, Graphics) : Boolean;

Tests whether the specified PointF structure is contained within this Region object when drawn using the specified Graphics object.

[Visual Basic] Overloads Public Function IsVisible(PointF, Graphics) As Boolean
[C#] public bool IsVisible(PointF, Graphics);
[C++] public: bool IsVisible(PointF, Graphics*);
[JScript] public function IsVisible(PointF, Graphics) : Boolean;

Tests whether any portion of the specified Rectangle structure is contained within this Region object when drawn using the specified Graphics object.

[Visual Basic] Overloads Public Function IsVisible(Rectangle, Graphics) As Boolean
[C#] public bool IsVisible(Rectangle, Graphics);
[C++] public: bool IsVisible(Rectangle, Graphics*);
[JScript] public function IsVisible(Rectangle, Graphics) : Boolean;

Tests whether any portion of the specified RectangleF structure is contained within this Region when drawn using the specified Graphics object.

[Visual Basic] Overloads Public Function IsVisible(RectangleF, Graphics) As Boolean
[C#] public bool IsVisible(RectangleF, Graphics);
[C++] public: bool IsVisible(RectangleF, Graphics*);
[JScript] public function IsVisible(RectangleF, Graphics) : Boolean;

Tests whether the specified point is contained within this Region object.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function IsVisible(Single, Single) As Boolean
[C#] public bool IsVisible(float, float);
[C++] public: bool IsVisible(float, float);
[JScript] public function IsVisible(float, float) : Boolean;

Tests whether the specified point is contained within this Region object when drawn using the specified Graphics object.

[Visual Basic] Overloads Public Function IsVisible(Integer, Integer, Graphics) As Boolean
[C#] public bool IsVisible(int, int, Graphics);
[C++] public: bool IsVisible(int, int, Graphics*);
[JScript] public function IsVisible(int, int, Graphics) : Boolean;

Tests whether the specified point is contained within this Region object when drawn using the specified Graphics object.

[Visual Basic] Overloads Public Function IsVisible(Single, Single, Graphics) As Boolean
[C#] public bool IsVisible(float, float, Graphics);
[C++] public: bool IsVisible(float, float, Graphics*);
[JScript] public function IsVisible(float, float, Graphics) : Boolean;

Tests whether any portion of the specified rectangle is contained within this Region object.

[Visual Basic] Overloads Public Function IsVisible(Integer, Integer, Integer, Integer) As Boolean
[C#] public bool IsVisible(int, int, int, int);
[C++] public: bool IsVisible(int, int, int, int);
[JScript] public function IsVisible(int, int, int, int) : Boolean;

Tests whether any portion of the specified rectangle is contained within this Region object.

[Visual Basic] Overloads Public Function IsVisible(Single, Single, Single, Single) As Boolean
[C#] public bool IsVisible(float, float, float, float);
[C++] public: bool IsVisible(float, float, float, float);
[JScript] public function IsVisible(float, float, float, float) : Boolean;

Tests whether any portion of the specified rectangle is contained within this Region object when drawn using the specified Graphics object.

[Visual Basic] Overloads Public Function IsVisible(Integer, Integer, Integer, Integer, Graphics) As Boolean
[C#] public bool IsVisible(int, int, int, int, Graphics);
[C++] public: bool IsVisible(int, int, int, int, Graphics*);
[JScript] public function IsVisible(int, int, int, int, Graphics) : Boolean;

Tests whether any portion of the specified rectangle is contained within this Region object when drawn using the specified Graphics object.

[Visual Basic] Overloads Public Function IsVisible(Single, Single, Single, Single, Graphics) As Boolean
[C#] public bool IsVisible(float, float, float, float, Graphics);
[C++] public: bool IsVisible(float, float, float, float, Graphics*);
[JScript] public function IsVisible(float, float, float, float, Graphics) : Boolean;

Example

For an example, see Region.IsVisible Method (RectangleF).

See Also

Region Class | Region Members | System.Drawing Namespace

Did you find this helpful?
(1500 characters remaining)