LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

OffsetRegion Method






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. .NET support Silverlight support WinRT support
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
)
 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

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