Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartPaint Class / SetClip Method
A System.Drawing.Rectangle structure representing the clipping region.


In This Topic
    SetClip Method
    In This Topic
    Sets the clipping region to the specified rectangle.
    Syntax
    'Declaration
     
    Public Sub SetClip( _
       ByVal rectangle As Rectangle _
    ) 
    'Usage
     
    Dim instance As SmartPaint
    Dim rectangle As Rectangle
     
    instance.SetClip(rectangle)
    public void SetClip( 
       Rectangle rectangle
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle structure representing the clipping region.
    Remarks

    A clip region is a rectangle or set of rectangles used to control which portions of an image/item are displayed.

    Requirements

    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

    See Also