Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
CopyData Method
See Also 
Leadtools Namespace > RasterImage Class : CopyData Method




data
Buffer containing the image new data.
dataOffset
Offset into data where the copy operation should begin.
Updates the data of this RasterImage.

Syntax

Visual Basic (Declaration) 
Public Sub CopyData( _
   ByVal data() As Byte, _
   ByVal dataOffset As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim data() As Byte
Dim dataOffset As Integer
 
instance.CopyData(data, dataOffset)
C# 
public void CopyData( 
   byte[] data,
   int dataOffset
)
Managed Extensions for C++ 
public: void CopyData( 
   byte[]* data,
   int dataOffset
) 
C++/CLI 
public:
void CopyData( 
   array<byte>^ data,
   int dataOffset
) 

Parameters

data
Buffer containing the image new data.
dataOffset
Offset into data where the copy operation should begin.

Remarks

The byte array that you specify will be copied.

The data is copied as is into the internal memory of this RasterImage.

Requirements

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

See Also