Visual Basic (Declaration) | |
---|---|
Public Sub OffsetRegion( _ ByVal rowOffset As Integer, _ ByVal colOffset As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- rowOffset
- The number of rows to move the region.
- colOffset
- The number of columns to move the region.
For an example, refer to FlipRegion.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family