←Select platform

OffsetRegion Method

Summary

Moves the image region by the specified number of rows and columns.

Syntax
C#
VB
Objective-C
C++
Java
public void OffsetRegion( 
   int rowOffset, 
   int colOffset 
) 
Public Sub OffsetRegion( _ 
   ByVal rowOffset As Integer, _ 
   ByVal colOffset As Integer _ 
)  
- (BOOL)offsetRegionByAmount:(LeadPoint)offset  
                       error:(NSError **)error 
public void offsetRegion( 
  int rowOffset,  
  int colOffset 
) 
public: 
void OffsetRegion(  
   int rowOffset, 
   int colOffset 
)  

Parameters

rowOffset
The number of rows to move the region.

colOffset
The number of columns to move the region.

Remarks

The move does not affect the pixels in the region.

This method uses image coordinates to specify the pixel. Therefore, you must account for the view perspective of the image.

Example

For an example, refer to FlipRegion.

Requirements

Target Platforms

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

Leadtools Assembly