This documentation is archived and is not being maintained.

Rectangle.Offset Method

Adjusts the location of this rectangle by the specified amount.

Overload List

Adjusts the location of this rectangle by the specified amount.

[Visual Basic] Overloads Public Sub Offset(Point)
[C#] public void Offset(Point);
[C++] public: void Offset(Point);
[JScript] public function Offset(Point);

Adjusts the location of this rectangle by the specified amount.

Supported by the .NET Compact Framework.

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

See Also

Rectangle Structure | Rectangle Members | System.Drawing Namespace

Show: