LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetData Method
See Also 
Leadtools Namespace > RasterNativeBuffer Structure : SetData Method



offset
Offset into this RasterNativeBuffer data at which storing begins.
buffer
The buffer that contains the data to copy.
bufferOffset
Offset into buffer at which copying begins.
bytes
Number of bytes to store.
offset
Offset into this RasterNativeBuffer data at which storing begins.
buffer
The buffer that contains the data to copy.
bufferOffset
Offset into buffer at which copying begins.
bytes
Number of bytes to store.
Copies data from a byte array into this RasterNativeBuffer object. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Sub SetData( _
   ByVal offset As Long, _
   ByVal buffer() As Byte, _
   ByVal bufferOffset As Integer, _
   ByVal bytes As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterNativeBuffer
Dim offset As Long
Dim buffer() As Byte
Dim bufferOffset As Integer
Dim bytes As Integer
 
instance.SetData(offset, buffer, bufferOffset, bytes)
C# 
public void SetData( 
   long offset,
   byte[] buffer,
   int bufferOffset,
   int bytes
)
C++/CLI 
public:
void SetData( 
   int64 offset,
   array<byte>^ buffer,
   int bufferOffset,
   int bytes
) 

Parameters

offset
Offset into this RasterNativeBuffer data at which storing begins.
buffer
The buffer that contains the data to copy.
bufferOffset
Offset into buffer at which copying begins.
bytes
Number of bytes to store.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also