LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Offset(Int32,Int32) Method
See Also 
Leadtools Namespace > LeadRect Structure > Offset Method : Offset(Int32,Int32) Method



x
The amount to offset the location horizontally.
y
The amount to offset the location vertically.
x
The amount to offset the location horizontally.
y
The amount to offset the location vertically.
Adjusts the location of this rectangle by the specified amounts. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Offset( _
   ByVal x As Integer, _
   ByVal y As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As LeadRect
Dim x As Integer
Dim y As Integer
 
instance.Offset(x, y)
C# 
public void Offset( 
   int x,
   int y
)
C++/CLI 
public:
void Offset( 
   int x,
   int y
) 

Parameters

x
The amount to offset the location horizontally.
y
The amount to offset the location vertically.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also