Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Offset(Single,Single) Method
See Also 
Leadtools.Annotations Namespace > AnnRectangle Structure > Offset Method : Offset(Single,Single) 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.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub Offset( _
   ByVal x As Single, _
   ByVal y As Single _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnRectangle
Dim x As Single
Dim y As Single
 
instance.Offset(x, y)
C# 
public void Offset( 
   float x,
   float y
)
C++/CLI 
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features