This documentation is archived and is not being maintained.

Graphics.ClipBounds Property

Gets a RectangleF structure that bounds the clipping region of this Graphics object.

[Visual Basic]
Public ReadOnly Property ClipBounds As RectangleF
[C#]
public RectangleF ClipBounds {get;}
[C++]
public: __property RectangleF get_ClipBounds();
[JScript]
public function get ClipBounds() : RectangleF;

Property Value

This property indicates a RectangleF structure that represents a bounding rectangle for the clipping region of this Graphics object.

Remarks

If the clipping region is infinite, the ClipBounds property returns a meaningless large rectangle. To determine whether the clipping region is infinite, retrieve the Clip property and call its IsInfinite method.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Graphics Class | Graphics Members | System.Drawing Namespace

Show: