Gets the
System.Drawing.Rectangle structure that bounds the clipping region of this
Graphics object.
'Declaration
Public ReadOnly Property ClipBound As Rectangle
public Rectangle ClipBound {get;}
Property Value
This property indicates a
System.Drawing.Rectangle structure that represents a bounding rectangle for the clipping region of this
Graphics object.
How to judge a Grphics's clip is empty?
bool isClipEmpty = (graphics.ClipBound == Rectangle.Empty);
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2