Input for WinForms | ComponentOne
C1.Framework Namespace / Style Class / Deflate Method / Deflate(Rectangle) Method
A System.Drawing.Rectangle to deflate.

In This Topic
    Deflate(Rectangle) Method
    In This Topic
    Deflates the specified System.Drawing.Rectangle by the values of the current Style margins, padding and border.
    Syntax
    'Declaration
     
    
    Public Overloads Function Deflate( _
       ByVal r As Rectangle _
    ) As Rectangle
    public Rectangle Deflate( 
       Rectangle r
    )

    Parameters

    r
    A System.Drawing.Rectangle to deflate.

    Return Value

    See Also