LEADTOOLS (Leadtools assembly)

OffsetRect Method

Show in webframe







The rectangle to move.
The amount to move the rectangle horizontally.
The amount to move the rectangle vertically.
Returns a rectangle that is offset from the specified rectangle by using the specified horizontal and vertical amounts.
Syntax
public static LeadRectD OffsetRect( 
   LeadRectD rect,
   double offsetX,
   double offsetY
)
'Declaration
 
Public Shared Function OffsetRect( _
   ByVal rect As LeadRectD, _
   ByVal offsetX As Double, _
   ByVal offsetY As Double _
) As LeadRectD
'Usage
 
Dim rect As LeadRectD
Dim offsetX As Double
Dim offsetY As Double
Dim value As LeadRectD
 
value = LeadRectD.OffsetRect(rect, offsetX, offsetY)
public static LeadRectD OffsetRect( 
   LeadRectD rect,
   double offsetX,
   double offsetY
)

            

            
 function Leadtools.LeadRectD.OffsetRect( 
   rect ,
   offsetX ,
   offsetY 
)
public:
static LeadRectD OffsetRect( 
   LeadRectD rect,
   double offsetX,
   double offsetY
) 

Parameters

rect
The rectangle to move.
offsetX
The amount to move the rectangle horizontally.
offsetY
The amount to move the rectangle vertically.

Return Value

The resulting rectangle.
Requirements

Target Platforms

See Also

Reference

LeadRectD Structure
LeadRectD Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.