ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / ClipBound Property
Example

In This Topic
    ClipBound Property
    In This Topic
    Gets the System.Drawing.Rectangle structure that bounds the clipping region of this Graphics object.
    Syntax
    '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.
    Example
    How to judge a Grphics's clip is empty?
    bool isClipEmpty = (graphics.ClipBound == Rectangle.Empty);
    See Also