←Select platform

Offset Method

Summary
Moves the rectangle by the specified horizontal and vertical amounts.
Syntax
C#
VB
C++
Java
public void Offset( 
   double offsetX, 
   double offsetY 
) 
Public Sub Offset( _ 
   ByVal offsetX As Double, _ 
   ByVal offsetY As Double _ 
)  
public void offset(double offsetX, double offsetY) 
public: 
void Offset(  
   double offsetX, 
   double offsetY 
)  

Parameters

offsetX
The amount to move the rectangle horizontally.

offsetY
The amount to move the rectangle vertically.

Remarks

You cannot change the values of the Empty rectangle.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.