Adjusts the location of this rectangle by the specified amounts.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Sub Offset( _
ByVal x As Single, _
ByVal y As Single _
) |
Managed Extensions for C++ | |
---|
public: void Offset(
float x,
float y
) |
Parameters
- x
- The amount to offset the location horizontally.
- y
- The amount to offset the location vertically.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also