←Select platform

OffsetRect Method

Summary

Returns a rectangle that is offset from the specified rectangle by using the specified horizontal and vertical amounts.

Syntax

C#
VB
Java
C++
public static Leadtools.LeadRectD OffsetRect(  
   Leadtools.LeadRectD rect, 
   double offsetX, 
   double offsetY 
) 
Public Shared Function OffsetRect( _ 
   ByVal rect As Leadtools.LeadRectD, _ 
   ByVal offsetX As Double, _ 
   ByVal offsetY As Double _ 
) As Leadtools.LeadRectD 
public static LeadRectD offsetRect(LeadRectD rect, double offsetX, double offsetY) 
public: 
static Leadtools.LeadRectD OffsetRect(  
   Leadtools.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize