←Select platform

OffsetRegion Method

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public void OffsetRegion( 
   int rowOffset, 
   int colOffset 
) 
Public Sub OffsetRegion( _ 
   ByVal rowOffset As Integer, _ 
   ByVal colOffset As Integer _ 
)  
public void OffsetRegion(  
   int rowOffset, 
   int colOffset 
) 
- (BOOL)offsetRegionByAmount:(LeadPoint)offset  
                       error:(NSError **)error 
             
public void offsetRegion( 
  int rowOffset,  
  int colOffset 
) 
             
 function Leadtools.RasterImage.OffsetRegion(  
   rowOffset , 
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly