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!

Rectangle.Offset (Int32, Int32)

Adjusts the location of this rectangle by the specified amount.

[Visual Basic]
Overloads Public Sub Offset( _
   ByVal x As Integer, _
   ByVal y As Integer _
)
[C#]
public void Offset(
   int x,
   int y
);
[C++]
public: void Offset(
   int x,
   int y
);
[JScript]
public function Offset(
   x : int,
   y : int
);

Parameters

x
Amount to offset the location horizontally
y
Amount to offset the location vertically

See Also

Rectangle Structure | Rectangle Members | System.Drawing Namespace | Rectangle.Offset Overload List