Table of Contents

Method InflatedWithPadding

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

InflatedWithPadding(Rectangle, Padding)

Inflates given rectangle by the specified padding.

public static Rectangle InflatedWithPadding(this Rectangle r, Padding p)

Parameters

r Rectangle

Given rectangle.

p Padding

System.Windows.Forms.Padding specifying amount to increase this rectangle.

Returns

Rectangle

Rectangle object with new size.