NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RectangleF.Inflate (RectangleF, Single, Single)

Creates a RectangleF that is inflated by the specified amount. If a negative size is specified the RectangleF will be deflated.

[Visual Basic]
Overloads Public Shared Function Inflate( _
   ByVal rect As RectangleF, _
   ByVal x As Single, _
   ByVal y As Single _
) As RectangleF
[C#]
public static RectangleF Inflate(
   RectangleF rect,
   float x,
   float y
);
[C++]
public: static RectangleF Inflate(
   RectangleF rect,
   float x,
   float y
);
[JScript]
public static function Inflate(
   rect : RectangleF,
   x : float,
   y : float
) : RectangleF;

Parameters

rect
RectangleF to base the operation on. This RectangleF will not be modified.
x
Amount to inflate this RectangleF horizontally.
y
Amount to inflate this RectangleF vertically.

Return Value

the resulting RectangleF.

See Also

RectangleF Structure | RectangleF Members | System.Drawing Namespace | RectangleF.Inflate Overload List