Ribbon for WinForms | ComponentOne
C1.Framework Namespace / Style Class / Deflate Method / Deflate(Int32,Int32) Method
A width to deflate.
A height to deflate.

In This Topic
    Deflate(Int32,Int32) Method
    In This Topic
    Deflates the specified width and height by the values of the current Style margins, padding and border.
    Syntax
    'Declaration
     
    
    Public Overloads Function Deflate( _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) As Size
    public Size Deflate( 
       int width,
       int height
    )

    Parameters

    width
    A width to deflate.
    height
    A height to deflate.

    Return Value

    The resulting System.Drawing.Size.
    See Also