Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Inflate Method

Rect.Inflate Method

Creates a rectangle that results from expanding or shrinking a rectangle by the specified amount.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Inflate(Size) Expands the rectangle by using the specified Size, in all directions.
Public method Inflate(Double, Double) Expands or shrinks the rectangle by using the specified width and height amounts, in all directions.
Public method Static member Inflate(Rect, Size) Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.
Public method Static member Inflate(Rect, Double, Double) Creates a rectangle that results from expanding or shrinking the specified rectangle by the specified width and height amounts, in all directions.
Top
Show:
© 2015 Microsoft