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



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

Syntax

Visual Basic (Declaration) 
Public Sub GetData( _
   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.GetData(offset, buffer, bufferOffset, bytes)
C# 
public void GetData( 
   long offset,
   byte[] buffer,
   int bufferOffset,
   int bytes
)
C++/CLI 
public:
void GetData( 
   int64 offset,
   array<byte>^ buffer,
   int bufferOffset,
   int bytes
) 

Parameters

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

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