←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
Objective-C
C++
Public Shared Function OffsetRect( _ 
   ByVal rect As Leadtools.LeadRectD, _ 
   ByVal offset As Leadtools.LeadPointD _ 
) As Leadtools.LeadRectD 
LeadRectD LeadRectDOffset(LeadRectD rect, LeadPointD offset) 

Parameters

rect
The rectangle to move.

offset
The amount to move the rectangle horizontally/vertically.

Return Value

The resulting rectangle.

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly