Copy Method (IndexBitmap)
In This Topic
Copies a range of elements from an IndexBitmap starting at the specified source index and pastes them to another IndexBitmap starting at the specified target index. The length and the indexes are specified as 32-bit integers.
Syntax
'Declaration
Public Shared Sub Copy( _
ByVal As IndexBitmap, _
ByVal As Integer, _
ByVal As IndexBitmap, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim source As IndexBitmap
Dim sourceIndex As Integer
Dim target As IndexBitmap
Dim targetIndex As Integer
Dim length As Integer
IndexBitmap.Copy(source, sourceIndex, target, targetIndex, length)
public static void Copy(
IndexBitmap ,
int ,
IndexBitmap ,
int ,
int
)
Parameters
- source
- The IndexBitmap that contains the data to copy.
- sourceIndex
- A 32-bit integer that represents the index in the source at which copying begins.
- target
- The IndexBitmap that receives the data.
- targetIndex
- A 32-bit integer that represents the index in the target at which storing begins.
- length
- A 32-bit integer that represents the number of elements to copy.
See Also