LEADTOOLS (Leadtools assembly)

OffsetRegion Method

Show in webframe







The number of rows to move the region.
The number of columns to move the region.
Moves the image region by the specified number of rows and columns.
Syntax
public void OffsetRegion( 
   int rowOffset,
   int colOffset
)
'Declaration
 
Public Sub OffsetRegion( _
   ByVal rowOffset As Integer, _
   ByVal colOffset As Integer _
) 
'Usage
 
Dim instance As RasterImage
Dim rowOffset As Integer
Dim colOffset As Integer
 
instance.OffsetRegion(rowOffset, colOffset)
public void OffsetRegion( 
   int rowOffset,
   int colOffset
)
-(BOOL)offsetRegion:(int)rowOffset 
          colOffset:(int)colOffset 
              error:(NSError**)outError;
            
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

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.